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
It doesn't look bad, but it can be quite annoying to check if the bars are at right places when you want to add new types at the beginning or at the end or when you want to reorginize them - basically the same issue as trailing commas.
What I would love to have is this:
typeAction=|Increment|Decrement|Reset
It is easier to read and easier to maintain.
The text was updated successfully, but these errors were encountered:
ErikCupal
changed the title
Proposal: Allow vertical bar before discriminated unions
Proposal: Vertical bar before discriminated unions
Jan 31, 2017
If we want to align discriminated unions vertically, we can write them like this
It doesn't look bad, but it can be quite annoying to check if the bars are at right places when you want to add new types at the beginning or at the end or when you want to reorginize them - basically the same issue as trailing commas.
What I would love to have is this:
It is easier to read and easier to maintain.
The text was updated successfully, but these errors were encountered: