chan-0.0.4.1: Some extra kit for Chans

Safe HaskellSafe
LanguageHaskell2010

Control.Concurrent.Chan.Typed

Documentation

newtype ChanRW (scope :: Scope) a Source #

Constructors

ChanRW (Chan a) 

writeChanRW :: Writable scope => ChanRW scope a -> a -> IO () Source #

readChanRW :: Readable scope => ChanRW scope a -> IO a Source #

dupChanRW :: Writable scopeIn => Readable scopeOut => ChanRW scopeIn a -> IO (ChanRW scopeOut a) Source #