Martin Drautzburg wrote:
Hello all
The standard map function applies a single function to a list of arguments.
But what if I want to apply a list of functions to a single argument. I can
of course write such a function, but I wonder if there is a standard way of
doing this,
The magical incantation you seek is "map ($ x) [fn1, fn2, fn3]".
Remember that "$" is a function like any other, and can be curried.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe