Modulemachines-0.7.4Haskell2010
Data.Machine.Pipe
Allows bidirectional communication between two MachineT. Exposed the same interface of Pipes library.
- 8 types
- 11 values
- Packagemachines-0.7.4
- Exports19
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourcePipe.hs
Like Effect, but with a polymorphic type
Like Server, but with a polymorphic type
Like Client, but with a polymorphic type
Send a value of type a' upstream and block waiting for a reply of type a. request is the identity of the request category.
Send a value of type a downstream and block waiting for a reply of type a' respond is the identity of the respond category.
Forward responses followed by requests. push is the identity of the push category.
Forward requests followed by responses. pull is the identity of the pull category.
Run a self-contained Effect, converting it back to the base monad.
Like runEffect but discarding any produced value.