Control.Parallel and the Reader monad

23 Dec
2009
23 Dec
'09
11:13 a.m.
Hi, I'm facing the following problem. I've got come computation c :: a -> Reader e b that i'm running on several as: mapM c xs A natural optimisation of this program would to be to take advantage of Control.Parallel to run these computation in parallel, which seems sound since the Reader monad is commutative. Unfortunately, I didn't manage to do so. Has this situation been tackled with before ? Is there some library or function I've missed involving commutative monads and Control.Parallel ? Regards, Paul
5688
Age (days ago)
5688
Last active (days ago)
0 comments
1 participants
participants (1)
-
Paul Brauner