What do terms in parentheses mean in enums in Mint ? #562
Replies: 1 comment 2 replies
-
See the documentation. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If I understand correctly, enums allow defining aggregate types, each one stipulating a possible concrete type a variable could take.
So, I would expect a enum to look something like:
But what does the additional information in parentheses mean ?
Beta Was this translation helpful? Give feedback.
All reactions