[Haskell-cafe] standard function

Ilya Tsindlekht eilya497 at 013.net
Wed Jun 6 10:59:11 EDT 2007

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]

More information about the Haskell-Cafe mailing list