Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
Projects in Awesome Lists tagged with enumerated-types
A curated list of projects in awesome lists tagged with enumerated-types .
https://github.com/alassek/activerecord-pg_enum
Integrate PostgreSQL's enumerated types with the Rails enum feature
enum enumerated-types migrations postgresql ruby-on-rails
Last synced: 20 Dec 2024
https://github.com/jaforbes/sum-type
A simple, serializable sum-type format
discriminated-unions enum enumerated-types fp sum-type union-type
Last synced: 27 Oct 2024
https://github.com/stefano-m/lua-enum
Enumerated Types for Lua
enum enumerated-types enumeration lua
Last synced: 14 Nov 2024
https://github.com/ElianHugh/enumr
Enumerations for R
enumerated-types enumerations package r
Last synced: 20 Nov 2024
https://github.com/elianhugh/enumr
Enumerations for R
enumerated-types enumerations package r
Last synced: 16 Nov 2024
https://github.com/dnl-blkv/simple-php-enum
Simple C/C++ alike enum library in PHP
c c-plus-plus enum enumerated-types enumeration php php-enum php7 php71 simple
Last synced: 18 Nov 2024
https://github.com/THE108/enumlinter
Enum linter for enumerated types in Go
enum enumerated-types go golang linter
Last synced: 17 Nov 2024
https://github.com/michaelbrim/tedium
bits of common code to reuse across C/C++ projects
c c-plus-plus c-preprocessor configuration enumerated-types system-programming
Last synced: 11 Nov 2024
https://github.com/traffician/objective-enums
Objective-like Enumerated Types in JavaScript and Node
ecmascript enum enumerated-types javascript nodejs objective-like
Last synced: 14 Dec 2024
https://github.com/bell-kevin/chapter12exerciseprojectcountingcoins
Chapter 12 Exercise Project: Counting Coins. You run a very successful ice cream truck in the summer, with lots of kids paying for ice cream in coins. At the end of the day, you have a large pile of coins. It would be very helpful if you could just count the number of quarters, the number of dimes, the number of nickels, and the number of pennies, enter those counts of each type of coin into a program, and have the program calculate the total worth of all the coins. For this project, you will use an enum named Coin, which specifies the name and the worth of each type of coin. See Fig 12.11a on p. 547 for an example of an enum with additional information. In the driver code, ask the user how many coins are a quarter, how many are a dime, and so on, and calculate the value of that pile of coins. Ask the user what they think the pile of coins is worth. Using the ternary or conditional operator, compare the user's guess to the value of the pile of coins to display either "You are correct" or "You are incorrect". Note that the names of each member of the enum are capitalized, as appropriate for constants. Use a For-Each loop to go through each of the elements of the enum to ask for the number of that type of coin and calculate the worth of those coins. Look at the code on the bottom of p. 548 for an example. Be sure to use proper formatting for currency on those lines displaying money values. Run the project 4 times, with different values for the piles of coins. Two of the guesses need to be correct and 2 incorrect. Take screenshots of the results. Note: This project must have an enum, a For-Each loop, and a ternary or conditional operator. Submission:the specified screenshots and the root folder for the project Pay careful attention to the rubric for this assignment. Note that you must use correct formatting in the code -- appropriate indentation is most important. You can use Shift-Alt-F to have NetBeans automatically format the code correctly. If the formatting is incorrect, it will be returned to you for changes with a grade of zero. Note: You need to submit the whole project for these assignments. In File Explorer, go to the location where you created the project. There will be a folder with the name of your project -- that is the root folder of the project. If you submit the root folder of the project, the instructor can run it on a different machine to grade it. If you don't submit the proper folder, it won't run on another machine, and the assignment will be marked with a zero.
enum enumerated-types enumeration for-each for-each-loop ternary-operator
Last synced: 23 Nov 2024
https://github.com/cwchentw/ocenum
Enumeration Class for Objective-C
enum enumerated-types enumeration objective-c objective-c-library
Last synced: 17 Nov 2024
https://github.com/traffician/babel-plugin-objective-enums
Babel plugin supporting TypeScript-like enum syntax in JavaScript.
babel-plugin enum enumerated-types javascript objective-enums
Last synced: 08 Nov 2024
https://github.com/observeroftime/enumagic.py
Python enums infused with magic
Last synced: 18 Dec 2024