-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
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
document operator precedence #1094
Labels
Comments
There is a partial table of operator precedence here: Lines 460 to 487 in bc1c188
But it doesn't explain the logic for inserting implicit parentheses, which treats some tokens like Line 1153 in bc1c188
I agree, it would be better if all of this were actually in one place in the documentation. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I understand that tweaking operator precedence now means breaking legacy code.
But I still wish there were a table in the docs with operator precedence and associativity. Certain things, such as that precedence of
>>
is different from|>
and<|
regarding function appllication, are not obvious at all.The text was updated successfully, but these errors were encountered: