"Jacques Carette" <[EMAIL PROTECTED]> 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 ($)))

_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to