-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Parallelism between ≤, <=, =<, ≥, >=, => #424
Comments
Yes! The fact that |
Is there a programming language, where less-or-equal is written =< ? This would be a good reason for the font to show this character. I would assume, that for most languages the compiler will find the syntax error when using =< instead of <=, but I might be wrong. I could imagine, that a custom operator =< is defined in a language for that the compiler does not type check the expression - or it even type checks, because it has the same type signature as <= ). Is it more common to define a custom operator =< for which you would want to display a different symbol than ⩽ or is it more common that programming languages have =< already defined (e.g. as their less-or-equal operator)? |
I think it’s far more common to have |
The |
There is at least one programming language where =< is "less than or equal", which is Prolog. I think the CLI docs issue is a bigger issue though, and Prolog programmers will just have to live with not having a ligature there. |
Huh, I thought the even more weird thing was that |
@Crissov |
Fira Code was always about practice, not symmetry. |
FWIW, in Erlang, =< is the comparison operator, while <= is a backwards pointing arrow... I'm not sure if I should comment on all related issues, maybe just one should be kept open? |
In conclusion, many languages pair Default:
Set 1:
Set 2:
|
So, v1.205+ implements what I called Set 1 above as the default, i.e. it follows the original suggestion by @wlonk in this issue. |
Would it be possible to have separate sets released so we can choose which we prefer to use? I mainly work with VHDL and in my code |
@jevogel eventually, it’s the direction I want to go. It requires lots of work though to set up correctly, so don’t expect it happening very soon |
Understood. Thanks for your response. |
…closes tonsky#406, closes tonsky#355, closes tonsky#305)
Sorry if this is a duplicate, but there's a lack of parallelism that weirds me out:
My suggestion is that 2. should change, perhaps to simply no longer be a ligature?
The text was updated successfully, but these errors were encountered: