-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Description
Although SumType is meant to be a @safe algebraic type, sometimes we might want to extract the value from it directly. If the user knows what value is contained within SumType, then always resorting to match, its heavy usage might become a little tedious to write. I propose making get, or other function, public so that this can be avoided. Such function needs to be @system as it can lead to undefined behavior.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels