dunai-0.3.0.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

Synopsis

(*|*) :: 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 '(***)'.

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

Parallel version of '(&&&)'.