base-io-access-0.3.0.0: The IO functions included in base delimited into small, composable classes

Safe HaskellNone

Access.Control.Concurrent.Chan

Documentation

class Access io => ChanAccess io whereSource

Methods

newChan' :: io (Chan a)Source

writeChan' :: Chan a -> a -> io ()Source

readChan' :: Chan a -> io aSource

dupChan' :: Chan a -> io (Chan a)Source

getChanContents' :: Chan a -> io [a]Source

writeList2Chan' :: Chan a -> [a] -> io ()Source

Instances