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

Safe HaskellSafe
LanguageHaskell2010

Parrows.Future

Documentation

class Future fut a conf | a conf -> fut where Source #

Minimal complete definition

put, get

Methods

put :: Arrow arr => conf -> arr a (fut a) Source #

get :: Arrow arr => conf -> arr (fut a) a Source #

Instances

Future BasicFuture a (Conf a) Source # 

Methods

put :: Arrow arr => Conf a -> arr a (BasicFuture a) Source #

get :: Arrow arr => Conf a -> arr (BasicFuture a) a Source #

data BasicFuture a Source #

Constructors

BF a 

Instances

Future BasicFuture a (Conf a) Source # 

Methods

put :: Arrow arr => Conf a -> arr a (BasicFuture a) Source #

get :: Arrow arr => Conf a -> arr (BasicFuture a) a Source #

NFData a => NFData (BasicFuture a) Source # 

Methods

rnf :: BasicFuture a -> () #

put' :: Arrow arr => arr a (BasicFuture a) Source #

get' :: Arrow arr => arr (BasicFuture a) a Source #

liftFut :: (Arrow arr, Future fut a conf, Future fut b conf) => conf -> arr a b -> arr (fut a) (fut b) Source #

unliftFut :: (Arrow arr, Future fut a conf, Future fut b conf) => conf -> arr (fut a) (fut b) -> arr a b Source #

parEvalNFut :: (ArrowParallel arr (fut a) (fut b) conf, Future fut a conf, Future fut b conf) => conf -> [arr a b] -> arr [fut a] [fut b] Source #