On 20/02/07, Donald Bruce Stewart <[EMAIL PROTECTED]> wrote:
p.f.moore:
> I'm after a function, sort of equivalent to map, but rather than
> mapping a function over a list of arguments, I want to map a list of
> functions over the same argument. The signature would be [a -> b] -> a
> -> [b], but hoogle didn't come up with anything.
Prelude> map ($ 3) [(*2),(+1),div 1]
[6,4,0]
Cool. I told you I was missing something! :-)
The more I learn about using higher order functions, the more impressed I get.
Thanks,
Paul
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe