Skip to content
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

Add fixities for prefix operators #1367

Merged
merged 8 commits into from
Jun 25, 2022
Merged

Add fixities for prefix operators #1367

merged 8 commits into from
Jun 25, 2022

Conversation

qsctr
Copy link
Contributor

@qsctr qsctr commented Jun 17, 2022

Fixes #1322. Note that this is a breaking change for the unary - operator around higher precedence operators like ^^, i.e. -x^^2 now parses as -(x^^2) instead of (-x)^^2.

@qsctr qsctr requested a review from yav June 24, 2022 18:08
Copy link
Member

@yav yav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@qsctr qsctr merged commit c6a795c into master Jun 25, 2022
@qsctr qsctr deleted the prefix-fixities branch June 25, 2022 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unary minus binds more tightly than exponentiation
2 participants