
31 Aug
2005
31 Aug
'05
9:48 a.m.
On 8/31/05, Dinh Tien Tuan Anh
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. /S -- Sebastian Sylvan +46(0)736-818655 UIN: 44640862