13 Oct
2004
13 Oct
'04
5:13 p.m.
On Wed, Oct 13, 2004 at 01:00:05PM -0400, Jacques Carette wrote:
-- |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?
Jacques
Of course it is, but why? flist = flip (map . flip ($)) Groeten, Remi -- Nobody can be exactly like me. Even I have trouble doing it.