Conversation

Interestingly people seem to have the impression that Scala's tagged unions are a 'hack'… hopefully the enum syntax might help people be less scared of them, even if it really is the same thing under the hood! 😅
1
1
Hah! Is there an equivalent to non-exhaustive enums, where the API is flexible enough to add new variants without causing a breaking change?
1