-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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 infix "!in" as synonym for ∉ ? #15353
Comments
? |
Sorry @nalimilan I think I pressed enter too soon an submitted a half-typed issue. |
|
HI @Dawny33, I'm not sure what Atom is. I mostly only ever type code into Vim. I'm sure there is a way to type I think it's reasonable to expect that non-ascii operators have an ascii-typeable equivalent. |
@samoconnor Yeah, the request is quite reasonable 👍 Just trying to point out the latex shortcut for quick reference! |
Yes, I must confess I'm in that camp. :-) Using |
But if |
If we really need an ascii infix not-in operator (is |
@tkelman +1
|
Ni! Ni! Ni! |
@KristofferC Icky Icky Icky Ptang |
Indeed, the movie reference is the only possible justification of Tcl's choice. |
Adding |
Clearly, |
@samoconnor You might want to look at https://github.com/JuliaLang/julia-vim AFAIK it can replace \notin with the appropriate unicode symbol |
Perhaps parsing |
+1 for |
One reason to prefer |
If |
Could be useful, but we'll have to wait until more infix operators are supported to really give |
If it is agreed that a general infix |
I'm against it because then we'd have to deprecate |
Fair enough. |
Now have |
Does it also solve #25512, or does it only work for |
But |
Yeah, sorry, I missed the actual point here. |
I think people are upset that you have to write |
Allowing |
maybe disallow |
You also can't broadcast
|
Yeah, to hell with no breaking changes 😂 |
oh... right |
Please is there any news regarding to the issue ? Some think like |
I feel like the best we can do is special case |
I miss not having infix
ni
as the opposite ofin
like Tcl has∉
is nice, but I don't know how to type that.I end up with a lot of
if !(x in v) ...
which I'd rather replace withif x ni v ...
Does this seem crazy to people without a Tcl disorder?
Update: waiting for general infix
!
per #15353 (comment) .The text was updated successfully, but these errors were encountered: