class StreamProcIO sp where put :: o -> sp i o -> sp i o get :: (i -> sp i o) -> sp i o end :: sp i o instance StreamProcIO SP instance StreamProcIO F instance StreamProcIO K
The StreamProcIO
class captures the basic IO operations that a stream processor
can perform.