Comment by throwaway17_17
1 year ago
I believe the `\` character for functions is original to Haskell. Miranda does not have anonymous functions as a part of the language.
1 year ago
I believe the `\` character for functions is original to Haskell. Miranda does not have anonymous functions as a part of the language.
The \ is a simplified lambda, because most programmers can't type λ easily.
I would be very in favour of making λ a keyword, though. Maybe a linter could convert \ to λ.
it would be confusing since it's not part of UnicodeSyntax
https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/unic...
2 replies →