[Haskell] is $ a no-op?
Malcolm.Wallace at cs.york.ac.uk
Wed Oct 13 13:06:01 EDT 2004
"Jacques Carette" <carette at mcmaster.ca> writes:
> > -- |Apply list of functions to some value, returning list of results.
> > -- It's kind of like an converse map.
> > flist :: [a->b] -> a -> [b]
> > flist fs a = map ($ a) fs
> I have attempted, unsuccessfully, to write flist above in a point-free
> manner. Is it possible?
flist = flip (map . (flip ($)))
More information about the Haskell