Control.Concurrent.Chan.Class
- class WritableChan c where
- class ReadableChan c where
Documentation
class WritableChan c whereSource
A class for Chan types that can be written to. A minimum complete
instance defines one of writeList2Chan
or writeChan
Methods
writeList2Chan :: c a -> [a] -> IO ()Source
Write an entire list of items to a chan type
writeChan :: c a -> a -> IO ()Source
Write a value to a Chan type.
Instances