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

make radical operators juxtaposable #40173

Merged
merged 4 commits into from
Apr 3, 2021

Conversation

bicycle1885
Copy link
Member

This allows juxtaposition with radical operators such as 2√3, x√x, 4∛-3, and so on. I believe radical operators are never used as an infix binary operator so it will be safe to allow this syntax unlike other prefix unary operators (e.g., +, -, etc.).

Closes #40094.

@JeffBezanson
Copy link
Member

Just need to remove the explicit test for this not working, then LGTM :)

@bicycle1885
Copy link
Member Author

Thank you. Fixed.

@JeffBezanson JeffBezanson added the needs news A NEWS entry is required for this change label Mar 25, 2021
@JeffBezanson
Copy link
Member

Oh, I guess this could use a NEWS item.

@bicycle1885
Copy link
Member Author

Ready? Ready?

@bicycle1885 bicycle1885 removed the needs news A NEWS entry is required for this change label Mar 27, 2021
@vtjnash vtjnash added the merge me PR is reviewed. Merge when all tests are passing label Apr 3, 2021
@simeonschaub simeonschaub added the parser Language parsing and surface syntax label Apr 3, 2021
@simeonschaub simeonschaub merged commit bf1ab0e into JuliaLang:master Apr 3, 2021
@simeonschaub simeonschaub removed the merge me PR is reviewed. Merge when all tests are passing label Apr 3, 2021
@bicycle1885 bicycle1885 deleted the jux-radicals branch April 5, 2021 03:47
ElOceanografo pushed a commit to ElOceanografo/julia that referenced this pull request May 4, 2021
* make radical operators juxtaposable

* fix test

* update NEWS.md [skip ci]

Co-authored-by: Jameson Nash <[email protected]>
antoine-levitt pushed a commit to antoine-levitt/julia that referenced this pull request May 9, 2021
* make radical operators juxtaposable

* fix test

* update NEWS.md [skip ci]

Co-authored-by: Jameson Nash <[email protected]>
johanmon pushed a commit to johanmon/julia that referenced this pull request Jul 5, 2021
* make radical operators juxtaposable

* fix test

* update NEWS.md [skip ci]

Co-authored-by: Jameson Nash <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
parser Language parsing and surface syntax
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2√2 does not work
4 participants