On Wed, Jun 06, 2007 at 03:48:18PM +0200, Steffen Mazanek wrote:
> Hello,
> 
> is there a function f::[a->b]->a->[b] in the libraries? Couldn't find one
> using
> hoogle although this seems to be quite a common thing...
> 
> 
> Steffen


Just to add to what others have said, yet another way to implement it is
to use list comprehension:

mapApply fs x = [f x | f <- fs]
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to