sys-process-0.2.0: A replacement for System.Exit and System.Process.

Safe HaskellNone
LanguageHaskell2010

Sys.StdStream

Documentation

data StdStream Source #

Constructors

Inherit

Inherit Handle from parent

UseHandle Handle

Use the supplied Handle

CreatePipe

Create a new pipe. The returned Handle will use the default encoding and newline translation mode (just like Handles created by openFile).

NoStream 

class AsInherit p f s where Source #

Methods

_Inherit :: Optic' p f s () Source #

Instances

(Choice p, Applicative f) => AsInherit p f StdStream Source # 

Methods

_Inherit :: Optic' * * p f StdStream () Source #

AsInherit p f () Source # 

Methods

_Inherit :: Optic' * * p f () () Source #

class AsCreatePipe p f s where Source #

Methods

_CreatePipe :: Optic' p f s () Source #

Instances

class AsNoStream p f s where Source #

Methods

_NoStream :: Optic' p f s () Source #

Instances

(Choice p, Applicative f) => AsNoStream p f StdStream Source # 

Methods

_NoStream :: Optic' * * p f StdStream () Source #

AsNoStream p f () Source # 

Methods

_NoStream :: Optic' * * p f () () Source #