3 ms·
You certainly can do points-free programming in Haskell. It's the first place I ever heard of it. Ironically, points-free programming in Haskell has a lot of '
by vintermann 5y ago
You certainly can do points-free programming in Haskell. It's the first place I ever heard of it.
Ironically, points-free programming in Haskell has a lot of '.' in it.
- the_af 5y agoHaha, I never understood why the point-free (aka "pointless") form in Haskell actually is the form that requires lots of "."!
- tome 5y ago"Points" means something like "elements". When you write \x -> f (g x) you are defining a function that explicitly specifies how each "point" `x` is to be mapped. When you write f . g you don't mention any point. You are abstracting away from the notion of point. That's why it's "point free".