-
-
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
Add !=(2) to parallel ==(2) #29886
Comments
I suppose that we cannot define this for the other types of comparisons like |
Sure we can. It just gets a bit confusing, since in |
The convention we decided on is that we do this kind of "auto-currying" for predicate(subject, object) functions taking two arguments and the curried form is subject -> predicate(subject, object) So item -> item in collection By that rule |
Fixed by #30915 |
The
==(2)
method is a convenient replacement ofx->x==2
. Could we also have!=(2)
?EDIT:
isa(Vector)
and===(2)
would be nice, too.The text was updated successfully, but these errors were encountered: