[Haskell] is $ a no-op?
Jacques Carette
carette at mcmaster.ca
Wed Oct 13 13:24:36 EDT 2004
> > -- It's kind of like an converse map.
>
> I have attempted, unsuccessfully, to write flist above in a point-free
> manner. Is it possible?
> Of course it is, but why?
> flist = flip (map . flip ($))
Some functions are simpler point-free, others are simpler with points. I
was curious about this one (I like the pointwise version better).
Also, the statement "It's kind of like a converse map" becomes quite clear
from the point-free way to write it, while still not so obvious in the
pointwise version.
Jacques
More information about the Haskell
mailing list