5 ms·
The ligature ≠ for != is very C/C++/Java-specific, which is kind of annoying. Is there a way to selectively disable ligatures like this one?
by gnull 5y ago
The ligature ≠ for != is very C/C++/Java-specific, which is kind of annoying. Is there a way to selectively disable ligatures like this one?
- timw4mail 5y agoIt's a very common logic operator across a multitude of languages. In what situation do you have that sequence of characters that isn't a logic operator?
- jonnycomputer 5y ago~= and <> are common-enough, e.g. in Matlab, SQL Having a ligature for != but not for the others betrays its language-independent semantics. != in Matlab is not legal logic operator. Also, != might be part of regular expression.
- gnull 5y agohttps://hoogle.haskell.org/?hoogle=%28%21%3D%29&scope=set%3Astackage https://hoogle.haskell.org/?hoogle=%28%21%3D%29&scope=set%3A... Using Haskell is one such situation. Haskell's inequality operator is /= which someone could expect when they see ≠. Some people redefine != as a custom operator (see link), which can bring even more confusion with this ligatures.