13 Oct
2004
13 Oct
'04
5:06 p.m.
"Jacques Carette" <carette@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 ($)))