Martin.Drautzburg:
> 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,

    map ($ 2) [(*2), (+1), (^7)]


Cheers,
  Don
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to