4 ms·
Haskell has Unicode synonyms for many of it's constructs (enabled by a compiler flag), so you can write eg. → instead of `->` and ∀ instead of `forall`.
by lalaithion 8y ago
Haskell has Unicode synonyms for many of it's constructs (enabled by a compiler flag), so you can write eg. → instead of `->` and ∀ instead of `forall`.
- aduitsis 8y agoPerl6 too.
- lizmat 8y agohttps://docs.perl6.org/language/unicode_ascii https://docs.perl6.org/language/unicode_ascii for a list of Unicode characters in Perl 6 and their ASCII counterparts.
- pmarreck 8y agoI get that "for free" via programming ligatures: https://github.com/tonsky/FiraCode https://github.com/tonsky/FiraCode Depending on your (irrational) feelings about fonts and typography, this may either be the most amazing advance in coding readability you've ever encountered, or a mild improvement, or even annoying. But I love them! A number of coding-oriented fonts support them now: https://medium.com/larsenwork-andreas-larsen/ligatures-coding-fonts-5375ab47ef8e https://medium.com/larsenwork-andreas-larsen/ligatures-codin... also, small grammar niggle: "it's" should only be used where it can be replaced with "it is" and still make sense; otherwise it's always "its" :)
- reificator 8y agoFira code is great, but it can confuse others when they're looking over your shoulder. I consider it essential when working with Javascript, thanks to the ~~boneheaded and objectively wrong~~ personal-opinion-based decision to make the strict equality operator longer than the coercive one. Making sure you have the right one is important, and while linters can also solve the problem, I like having it be very visual and obviously apparent. Regarding `it's`: https://www.youtube.com/watch?v=063jQAM6N8I https://www.youtube.com/watch?v=063jQAM6N8I
- pmarreck 8y agoI thought I was familiar enough with Monty Python but I've never seen these, hilarious! (also the gag at 3:10)