cradle-0.0.0.0: A simpler process library
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cradle.Output

Documentation

runAndGetOutput :: forall output. Output output => ProcessConfiguration -> IO output Source #

class Output output where Source #

Instances

Instances details
Output ExitCode Source # 
Instance details

Defined in Cradle.Output

Output StderrRaw Source # 
Instance details

Defined in Cradle.Output

Output StdoutRaw Source # 
Instance details

Defined in Cradle.Output

Output StdoutTrimmed Source # 
Instance details

Defined in Cradle.Output

Output StdoutUntrimmed Source # 
Instance details

Defined in Cradle.Output

Output () Source # 
Instance details

Defined in Cradle.Output

(Output a, Output b) => Output (a, b) Source # 
Instance details

Defined in Cradle.Output

(Output a, Output b, Output c) => Output (a, b, c) Source # 
Instance details

Defined in Cradle.Output

(Output a, Output b, Output c, Output d) => Output (a, b, c, d) Source # 
Instance details

Defined in Cradle.Output

(Output a, Output b, Output c, Output d, Output e) => Output (a, b, c, d, e) Source # 
Instance details

Defined in Cradle.Output

(Output a, Output b, Output c, Output d, Output e, Output f) => Output (a, b, c, d, e, f) Source # 
Instance details

Defined in Cradle.Output

Methods

configure :: Proxy (a, b, c, d, e, f) -> ProcessConfiguration -> ProcessConfiguration Source #

extractOutput :: ProcessResult -> (a, b, c, d, e, f) Source #

newtype StdoutUntrimmed Source #

Constructors

StdoutUntrimmed 

Instances

Instances details
Generic StdoutUntrimmed Source # 
Instance details

Defined in Cradle.Output

Associated Types

type Rep StdoutUntrimmed :: Type -> Type #

Show StdoutUntrimmed Source # 
Instance details

Defined in Cradle.Output

Output StdoutUntrimmed Source # 
Instance details

Defined in Cradle.Output

Eq StdoutUntrimmed Source # 
Instance details

Defined in Cradle.Output

Ord StdoutUntrimmed Source # 
Instance details

Defined in Cradle.Output

type Rep StdoutUntrimmed Source # 
Instance details

Defined in Cradle.Output

type Rep StdoutUntrimmed = D1 ('MetaData "StdoutUntrimmed" "Cradle.Output" "cradle-0.0.0.0-1xaj8uOykRu5O0ytQ7P3BP" 'True) (C1 ('MetaCons "StdoutUntrimmed" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStdoutUntrimmed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype StdoutTrimmed Source #

Constructors

StdoutTrimmed 

Instances

Instances details
Generic StdoutTrimmed Source # 
Instance details

Defined in Cradle.Output

Associated Types

type Rep StdoutTrimmed :: Type -> Type #

Show StdoutTrimmed Source # 
Instance details

Defined in Cradle.Output

Output StdoutTrimmed Source # 
Instance details

Defined in Cradle.Output

Eq StdoutTrimmed Source # 
Instance details

Defined in Cradle.Output

Ord StdoutTrimmed Source # 
Instance details

Defined in Cradle.Output

type Rep StdoutTrimmed Source # 
Instance details

Defined in Cradle.Output

type Rep StdoutTrimmed = D1 ('MetaData "StdoutTrimmed" "Cradle.Output" "cradle-0.0.0.0-1xaj8uOykRu5O0ytQ7P3BP" 'True) (C1 ('MetaCons "StdoutTrimmed" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStdoutTrimmed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype StdoutRaw Source #

Constructors

StdoutRaw 

Instances

Instances details
Generic StdoutRaw Source # 
Instance details

Defined in Cradle.Output

Associated Types

type Rep StdoutRaw :: Type -> Type #

Show StdoutRaw Source # 
Instance details

Defined in Cradle.Output

Output StdoutRaw Source # 
Instance details

Defined in Cradle.Output

Eq StdoutRaw Source # 
Instance details

Defined in Cradle.Output

Ord StdoutRaw Source # 
Instance details

Defined in Cradle.Output

type Rep StdoutRaw Source # 
Instance details

Defined in Cradle.Output

type Rep StdoutRaw = D1 ('MetaData "StdoutRaw" "Cradle.Output" "cradle-0.0.0.0-1xaj8uOykRu5O0ytQ7P3BP" 'True) (C1 ('MetaCons "StdoutRaw" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStdoutRaw") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))

newtype StderrRaw Source #

Constructors

StderrRaw 

Instances

Instances details
Generic StderrRaw Source # 
Instance details

Defined in Cradle.Output

Associated Types

type Rep StderrRaw :: Type -> Type #

Show StderrRaw Source # 
Instance details

Defined in Cradle.Output

Output StderrRaw Source # 
Instance details

Defined in Cradle.Output

Eq StderrRaw Source # 
Instance details

Defined in Cradle.Output

Ord StderrRaw Source # 
Instance details

Defined in Cradle.Output

type Rep StderrRaw Source # 
Instance details

Defined in Cradle.Output

type Rep StderrRaw = D1 ('MetaData "StderrRaw" "Cradle.Output" "cradle-0.0.0.0-1xaj8uOykRu5O0ytQ7P3BP" 'True) (C1 ('MetaCons "StderrRaw" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStderr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))