You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is convenient syntactic sugar which easily translates to pattern matching. We should allow it only for single-constructor types so there is no issue with non-exhaustive patterns.
For consistency, we can allow it everywhere where a function definition is expected.
The text was updated successfully, but these errors were encountered:
We should allow:
and
This is convenient syntactic sugar which easily translates to pattern matching. We should allow it only for single-constructor types so there is no issue with non-exhaustive patterns.
For consistency, we can allow it everywhere where a function definition is expected.
The text was updated successfully, but these errors were encountered: