Ticket #446 (new defect)

Opened 4 years ago

Last modified 4 years ago

The merge function does not seem to run its argument coroutines in parallel

Reported by: blamario Owned by:
Priority: minor Milestone:
Component: Monad.Coroutine Version: 0.5
Keywords: Cc:

Description

Function

Control.Monad.Coroutine.merge :: forall s m x. (Monad m, Functor s) =>
                                 (forall x. [m x] -> m [x]) -> (forall x. [s x] -> s [x])
                              -> [Coroutine s m x] -> Coroutine s m [x]

appears to work properly, except that its test in the TestCoroutine? module apparently always uses only one CPU core.

Change History

Changed 4 years ago by blamario

  • version set to 0.5
Note: See TracTickets for help on using tickets.