lens-process-0.0.3.0: Optics for system processes

Copyright2019 Emily Pillmore
LicenseBSD
MaintainerEmily Pillmore <emilypi@cohomolo.gy>
StabilityExperimental
PortabilityTypeFamilies
Safe HaskellSafe
LanguageHaskell2010

System.Process.Lens.CommandSpec

Contents

Description

 
Synopsis

Optics

_RawCommand :: Prism' CmdSpec (FilePath, [String]) Source #

A prism into the RawCommand case of a CmdSpec

arguments :: Traversal' CmdSpec [String] Source #

Traversal' into the arguments of a command

Classes

class IsShell a where Source #

Classy prism into the shell command of a CmdSpec

Instances
IsShell CmdSpec Source # 
Instance details

Defined in System.Process.Lens.CommandSpec

class IsRaw a where Source #

Classy prism into the shell command of a CmdSpec

Methods

_Raw :: Prism' a (FilePath, [String]) Source #

Instances
IsRaw CmdSpec Source # 
Instance details

Defined in System.Process.Lens.CommandSpec

Combinators

arguing :: String -> CmdSpec -> CmdSpec Source #

Append an argument to the argument list of a RawCommand