4 ms·
The reasoning behind using '\' for lambda in Haskell was because it sort of looks like a lambda character ( λ vs \ ) if you squint hard enough.
by gamegoblin 13y ago
The reasoning behind using '\' for lambda in Haskell was because it sort of looks like a lambda character ( λ vs \ ) if you squint hard enough.
- tormeh 13y agoThat's just horrible. I don't know what more to say about it than that. How did anyone think this would be a good idea on balance?
- gamegoblin 13y agoMmm I suppose it's really just preference. I love that syntax. But I guess there's no arguing about taste.
- tormeh 13y agoWell, it's typing-friendly but not (re)learning-friendly. I guess it depends how you weigh those concerns.
- marcosdumay 13y agoIt's also very reading friendly. I normally forgive languages being hard to learn if the bring enough utility.
- sparkie 13y agoWhen you're writing Haskell in emacs (like you should be), you enable haskell-font-lock-symbols in haskell-mode, and it displays the lambda as it should be (plus a bunch of other symbol corrections for ::, ->, =>, (), ||, &&, etc.) Full list here: https://github.com/haskell/haskell-mode/blob/master/haskell-font-lock.el#L127 https://github.com/haskell/haskell-mode/blob/master/haskell-...
- jowiar 13y agoI wonder if that explains the Ballmer peak...