Hacker News new | ask | show | jobs
by iammisc 1739 days ago
This is canonical syntax in any functional programming language. This is like a Haskell programmer complaining that in most post-haskell languages, the keyword class means an oop type instead a class of types.
2 comments

No it's not. It's used mostly by Haskell, but ML/SML/OCaml and Scala use a different syntax.
All true, but perhaps it’s better to use something more familiar to more developers, such as

    x => f x
Or

    x -> f x
Passerine[0] uses the latter syntax.

[0]: https://github.com/vrtbl/passerine