News for hackers. Stuff that matters.
Re:Pen: A programming language for scalable development by iammisc on Monday September 20, 2021 @01:39AM (#28590648)
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.
Re:Pen: A programming language for scalable development by Zababa on Monday September 20, 2021 @02:56AM (#28590968)
No it's not. It's used mostly by Haskell, but ML/SML/OCaml and Scala use a different syntax.
Re:Pen: A programming language for scalable development by pharmakom on Monday September 20, 2021 @01:53AM (#28590706)
All true, but perhaps it’s better to use something more familiar to more developers, such as

    x => f x
Or

    x -> f x
Re:Pen: A programming language for scalable development by isaacimagine on Monday September 20, 2021 @01:10PM (#28596106)
Passerine[0] uses the latter syntax.

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