FiraCode renders the ~= ligature like asymptotically equal to (U+2243: ≃).
In lua and MATLAB, ~= is not equal to.
Historical context: I believe ~ was chosen as it is the closest ascii character to the not sign (U+00AC: ¬)
I wondered if this change would affect the Perl/Ruby regex match operator, but that’s =~, not ~=.
Is there any language where ~= means ≃?
Which way the duplicate goes? Is this duplicate of #293 or vice versa?
No; that’s about =~ and this is about ~=.
Also Dylan, Smalltalk, and BCPL use ~= to mean not equal to. Perl 6 uses =~= for the approx-equal operator.
bump, should someone send a PR removing it?
I’ll remove it from the next release
Now that stylistic sets are supported, it'd be great to see this as a stylistic set!
Most helpful comment
Now that stylistic sets are supported, it'd be great to see this as a stylistic set!