Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
IO into a pair of Haskell handles, like the ones created with stdin and stdout of a forked process.
- data HandlePair
- fromHandles :: Handle -> Handle -> HandlePair
Documentation
data HandlePair Source
A pair of handles, the first for input, and the second for output.
UniformIO HandlePair Source | UniformIO that reads from stdin and writes to stdout. |
fromHandles :: Handle -> Handle -> HandlePair Source
fromHandles inputHandler outputHandler
Creates a uniform io target from a pair of handlers.