Parallel-Arrows-Definition-0.1.1.0: Multithreaded evaluation using Arrows.

Safe HaskellSafe
LanguageHaskell2010

Parrows.Definition

Documentation

class Arrow arr => ArrowParallel arr a b conf where Source #

Minimal complete definition

parEvalN

Methods

parEvalN :: conf -> [arr a b] -> arr [a] [b] Source #

Instances

ArrowChoice arr => ArrowParallel arr a b (Conf b) Source # 

Methods

parEvalN :: Conf b -> [arr a b] -> arr [a] [b] Source #

class ArrowParallel arr a b conf => ArrowLoopParallel arr a b conf where Source #

Minimal complete definition

loopParEvalN, postLoopParEvalN

Methods

loopParEvalN :: conf -> [arr a b] -> arr [a] [b] Source #

postLoopParEvalN :: conf -> [arr a b] -> arr [a] [b] Source #

Instances

(ArrowChoice arr, ArrowParallel arr a b (Conf b)) => ArrowLoopParallel arr a b (Conf b) Source # 

Methods

loopParEvalN :: Conf b -> [arr a b] -> arr [a] [b] Source #

postLoopParEvalN :: Conf b -> [arr a b] -> arr [a] [b] Source #

(|***|) :: (ArrowChoice arr, ArrowParallel arr (Either a c) (Either b d) ()) => arr a b -> arr c d -> arr (a, c) (b, d) Source #

(|&&&|) :: (ArrowChoice arr, ArrowParallel arr (Either a a) (Either b c) ()) => arr a b -> arr a c -> arr a (b, c) Source #

(...) :: Arrow arr => [arr a b] -> arr b c -> [arr a c] Source #

parEvalNLazy :: (ArrowParallel arr a b conf, ArrowChoice arr) => conf -> ChunkSize -> [arr a b] -> arr [a] [b] Source #

parEval2 :: (ArrowChoice arr, ArrowParallel arr (Either a c) (Either b d) conf) => conf -> arr a b -> arr c d -> arr (a, c) (b, d) Source #