Skip to content
Unverified Commit 2d71e489 authored by Russell Cohen's avatar Russell Cohen Committed by GitHub
Browse files

Add support for unnamed enumerations (#2)

* Add support for unnamed enumerations

Unnamed enumerations are supported by creating a "newtype" that wraps the string. The newtype provides the valid values as a list for convenience.

* Take intellij's suggestion to simplify

* Rename function to values()
parent ddac680d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment