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

Safe HaskellNone
LanguageHaskell2010

Data.MonadicStreamFunction.Parallel

Description

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

Synopsis

Documentation

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