concurrent-0

Safe HaskellNone
LanguageHaskell2010

Concurrent.Primitive.Class

Documentation

class (PrimMonad m, PrimState m ~ s) => MonadPrim s m | s -> m Source

Instances

(PrimMonad m, (~) * (PrimState m) s) => MonadPrim s m Source 

primIO :: MonadPrimIO m => IO a -> m a Source

primST :: PrimMonad m => ST (PrimState m) a -> m a Source