dunai-0.7.0: Generalised reactive framework supporting classic, arrowized and monadic FRP.

Data.MonadicStreamFunction.Parallel

Description

Versions of arrow combinators that run things in parallel using par, if possible.

par

(*|*) :: Monad m => MSF m a b -> MSF m c d -> MSF m (a, c) (b, d) Source #

Run two MSFs in parallel, taking advantage of parallelism if possible. This is the parallel version of ***.

MSF

***

(&|&) :: Monad m => MSF m a b -> MSF m a c -> MSF m a (b, c) Source #

Parallel version of &&&.

&&&