blog! “Unicode operators for semantically correct programming”
Why do most programming languages use the / character when we have a perfectly good ÷ symbol? Similarly, why use != instead of ≠? Or => rather than →? The obvious answer is that the humble keyboard usually only has around 100 keys - and most humans have a hard time remembering where tho…
Read more: https://shkspr.mobi/blog/2023/01/unicode-operators-for-semantically-correct-programming/
⸻
#coding #programming #unicode
@Edent Haskell supports unicode identifiers, and defining your own operators, hence... https://hackage.haskell.org/package/base-unicode-symbols-0.2.4.2/docs/Data-Ord-Unicode.html