concurrent-0

Safe HaskellNone
LanguageHaskell2010

Concurrent.Par.Unsafe

Documentation

newtype Par d i s a Source

Constructors

Par 

Fields

unPar :: IO a
 

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 

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

Methods

unsafeParIO :: IO a -> m a Source

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 

unsafeInterleavePar :: Par d i s a -> Par d i s a Source

retry :: IO a -> IO a Source