[Haskell-cafe] List of functions
sebastian.sylvan at gmail.com
Wed Aug 31 05:48:00 EDT 2005
On 8/31/05, Dinh Tien Tuan Anh <tuananhbirm at hotmail.com> wrote:
> >Something like (untested)...
> >xs <- zipWith ($) forkIO (map (\f -> f x y) funs)
> >tids <- sequence xs
> what does "zipWith ($)" do ?
$ is function application, so zipWith ($) will "zip" a list of
functions with a list of arguments, by applying the functions to the
arguments pair-wise, producing a list of results.
More information about the Haskell-Cafe