[Haskell-cafe] List of functions
Sebastian Sylvan
sebastian.sylvan at gmail.com
Tue Aug 30 17:28:27 EDT 2005
On 8/30/05, Dinh Tien Tuan Anh <tuananhbirm at hotmail.com> wrote:
>
> Hi,
> Basically, i have several rules:
> f1 x y ...
> f2 x y ...
> .....
>
> They are all of the same type, but different names because i'll later on
> launch one thread for each of them, i.e:
> forkIO (f1 x y)
> forkIO (f2 x y)
> .....
>
> There maybe still more rules, and i dont want to manually writing forkIO ...
> for every new one.
> So is there an elegant way to put all those rules together in a list and
> then call "mapIO forkIO" just once, (of course, a new rule should be
> attached to the list as well) ?
>
> Thanks a lot
> TuanAnh
>
> _________________________________________________________________
> Winks & nudges are here - download MSN Messenger 7.0 today!
> http://messenger.msn.co.uk
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
--
Sebastian Sylvan
+46(0)736-818655
UIN: 44640862
More information about the Haskell-Cafe
mailing list