-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Undefined operator "<-" and -2 < -1 #3270
Labels
needs decision
A decision on this change is needed
Comments
Parsing of |
Isn't used on
But is in
|
I wanted to leave various operators around for custom use, but my first reaction here is to remove this. An expression like |
I know we already lost a couple arrowlike operators (#1267); it'd be nice to have some alternative if possible. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comparison fails unexpectedly:
So it seems that <- is parsed as an as yet unused operator. One way to have your cake and eat it, is to define:
which will make -2<-1 work as expected, and still leave <- available as a new user-defined operator.
Are there plans to use <- for something in future?
And by the way, are there any plans to make available any other new user-defined operators?
The text was updated successfully, but these errors were encountered: