| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Polysemy.Process.Interpreter.ProcessIO
Description
Interpreters for ProcessOutput and ProcessInput, Internal
Synopsis
- type ProcessIO i o = [ProcessInput i, ProcessOutput 'Stdout o, ProcessOutput 'Stderr o]
- interpretProcessByteString :: InterpretersFor (ProcessIO ByteString ByteString) r
- interpretProcessByteStringLines :: InterpretersFor (ProcessIO ByteString ByteString) r
- interpretProcessText :: InterpretersFor (ProcessIO Text Text) r
- interpretProcessTextLines :: InterpretersFor (ProcessIO Text Text) r
Documentation
type ProcessIO i o = [ProcessInput i, ProcessOutput 'Stdout o, ProcessOutput 'Stderr o] Source #
The effects used by Process to send and receive chunks of bytes to and from a process.
interpretProcessByteString :: InterpretersFor (ProcessIO ByteString ByteString) r Source #
Interpret ProcessIO with plain ByteStrings without chunking.
Silently discards stderr.
interpretProcessByteStringLines :: InterpretersFor (ProcessIO ByteString ByteString) r Source #
Interpret ProcessIO with ByteStrings chunked as lines.
Silently discards stderr.