Closed expipiplus1 closed 4 years ago
Indeed this already happens for empty braces
This might only look nice for single line record updates/matches however. And the consistency between single and multi line behavior is worth paying attention to.
I knew it! Thanks!
I was certain there was an issue already for this, but I couldn't find it.
Would it make sense to have no space between the record constructor name and the opening brace:
Although it's certainly no big deal, removing the space would make the precedence of the expression/pattern clearer.
At the moment at a quick glance one might thing
foo
andnoo
have arity three; without the space it's clear that the record contents are binding tightly to the constructor.