Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Net.Concurrent
Description
Concurrency primitives abstracted away from the IO monad
Documentation
class (Functor io, Monad io) => ChannelIO c io | io -> c where Source #
class (Functor io, Monad io) => MVarIO v io | io -> v where Source #
Minimal complete definition
Methods
newEmptyMVar :: io (v a) Source #
newMVar :: a -> io (v a) Source #
putMVar :: v a -> a -> io () Source #