Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Synopsis
- data T dir a
- type In = T In
- type Out = T Out
- newEmptyIO :: IO (In a, Out a)
- newEmpty :: STM (In a, Out a)
- newIO :: a -> IO (In a, Out a)
- new :: a -> STM (In a, Out a)
- take :: Out a -> STM a
- tryTake :: Out a -> STM (Maybe a)
- put :: In a -> a -> STM ()
- tryPut :: In a -> a -> STM Bool
- write :: In a -> a -> STM ()