concurrent-0

Safe HaskellNone
LanguageHaskell2010

Concurrent.Par

Documentation

data Par d i s a Source

Instances

MonadPar d i s (Par d i s) Source 
Monad (Par d i s) Source 
Functor (Par d i s) Source 
Applicative (Par d i s) Source 
((~) Determinism d NonDeterministic, (~) Idempotence i NonIdempotent, (~) * s RealWorld) => MonadIO (Par d i s) Source 
MonadThrow (Par d i s) Source 
MonadMask (Par d i s) Source 
MonadCatch (Par d i s) Source 

runPar :: (forall s. Par Deterministic i s a) -> a Source

runParIO :: MonadIO m => (forall s. Par d i s a) -> m a Source

class Monad m => MonadPar d i s m | m -> d i s where Source

Minimal complete definition

unsafeParIO, fork

Methods

fork :: m a -> m ThreadId Source

Instances

MonadPar NonDeterministic NonIdempotent RealWorld IO Source 
MonadPar d i s m => MonadPar d i s (IdentityT m) Source 
MonadPar d i s m => MonadPar d i s (MaybeT m) Source 
MonadPar d i s m => MonadPar d i s (StateT e m) Source 
MonadPar d i s m => MonadPar d i s (StateT e m) Source 
MonadPar d i s m => MonadPar d i s (ReaderT e m) Source 
MonadPar d i s m => MonadPar d i s (ExceptT e m) Source 
MonadPar d i s (Par d i s) Source