polysemy-process-0.12.1.0: Polysemy effects for system processes
Safe HaskellSafe-Inferred
LanguageHaskell2010

Polysemy.Process.Interpreter.ProcessIO

Description

Interpreters for ProcessOutput and ProcessInput, Internal

Synopsis

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.

interpretProcessText :: InterpretersFor (ProcessIO Text Text) r Source #

Interpret ProcessIO with plain Texts without chunking. Silently discards stderr.

interpretProcessTextLines :: InterpretersFor (ProcessIO Text Text) r Source #

Interpret ProcessIO with Texts chunked as lines. Silently discards stderr.