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
If we support this optional layout syntax, I think we can remove the option to omit | when a pattern-match expression has only one match clause.
It will make the implementation of the parser simple.
I agree that it'll make the parser simpler, but I'm not sure if it's worthwhile to add this optional layout syntax while sacrificing that feature... Maybe we need to reconsider adding this syntax, and it depends on how often we need to write multiple match clauses in single line.
This can be a little tricky as the starting symbol collides with the sequential pattern.
The text was updated successfully, but these errors were encountered: