3 ms·
Functional languages have combinators that allow for point-free style such as Haskell. Writing programs completely without arguments is although not that popul
by compressedgas 6y ago
Functional languages have combinators that allow for point-free style such as Haskell.
Writing programs completely without arguments is although not that popular even in the languages that support it because names are useful.
Would you rather have
\f g -> f f g
or
join id
Perhaps this example might show why there is a place to be point-free and there is a place to be pointful.
\x xs -> \f g -> f x xs f g
or
flip flip id . (ap .) . flip . flip id
These were converted with http://pointfree.io/ http://pointfree.io/