We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, the braces are optional. I think we should make them mandatory to make the syntax more consistent.
For example:
for (acc := t) (x in d) { deleteWith p x acc }
Now we also allow:
for (acc := t) (x in d) deleteWith p x acc
The text was updated successfully, but these errors were encountered:
The formatting is also sometimes weird, e.g.,
for (acc := empty) (x in tree1) {if | isMember x tree2 := insert x acc | else := acc};
It should be:
for (acc := empty) (x in tree1) { if | isMember x tree2 := insert x acc | else := acc };
Sorry, something went wrong.
Actually, I propose to have a separate case for single-line iterator applications without braces but enforcing the parentheses around the body:
map (x in s) (key x)
This would be formatted differently than the version with braces where newlines would be enforced:
map (x in s) { key x }
No branches or pull requests
Currently, the braces are optional. I think we should make them mandatory to make the syntax more consistent.
For example:
Now we also allow:
The text was updated successfully, but these errors were encountered: