Skip to content

Allow single valued enums#14

Open
schutm wants to merge 1 commit into
onboardingsystems:masterfrom
schutm:master
Open

Allow single valued enums#14
schutm wants to merge 1 commit into
onboardingsystems:masterfrom
schutm:master

Conversation

@schutm

@schutm schutm commented Dec 8, 2021

Copy link
Copy Markdown

This will allow single valued enums like

defenum SingleValuedEnum do
  value OneValue, "one"
end

@edouardmenayde

Copy link
Copy Markdown

Could this be integrated ?
It can be useful when you know you gonna need an enum but do not want to write the specifics yet.

@danielatdpg

Copy link
Copy Markdown

Could this be integrated ? It can be useful when you know you gonna need an enum but do not want to write the specifics yet.

Yes, please, seconding this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants