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.
_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to