| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Sys.CmdSpec
Documentation
Constructors
| ShellCommand String | A command line to execute using the shell |
| RawCommand FilePath [String] | The name of an executable with a list of arguments The
|
Instances
| Eq CmdSpec | |
| Ord CmdSpec | |
| Show CmdSpec | |
| IsString CmdSpec | |
| (Choice p, Applicative f) => AsRawCommand p f CmdSpec | |
| (Choice p, Applicative f) => AsShellCommand p f CmdSpec | |
| Applicative f => AsExecutableArguments (->) f CmdSpec | |
| Applicative f => AsExecutableName (->) f CmdSpec | |
| AsCmdSpec p f CmdSpec |
class AsCmdSpec p f s where Source
Minimal complete definition
Nothing
Instances
| Functor f => AsCmdSpec (->) f CreateProcess | |
| (Profunctor p, Functor f) => AsCmdSpec p f CmdSpec | |
| AsCmdSpec p f CmdSpec |
class AsExecutableName p f s where Source
Minimal complete definition
Nothing
Methods
_ExecutableName :: Optic' p f s FilePath Source
Instances
| Applicative f => AsExecutableName (->) f CmdSpec | |
| Applicative f => AsExecutableName (->) f CreateProcess | |
| AsExecutableName p f FilePath |
class AsExecutableArguments p f s where Source
Minimal complete definition
Nothing
Methods
_ExecutableArguments :: Optic' p f s [String] Source
Instances
| Applicative f => AsExecutableArguments (->) f CmdSpec | |
| Applicative f => AsExecutableArguments (->) f CreateProcess | |
| AsExecutableArguments p f [String] |
class AsShellCommand p f s where Source
Minimal complete definition
Nothing
Methods
_ShellCommand :: Optic' p f s String Source
Instances
| Applicative f => AsShellCommand (->) f CreateProcess | |
| (Choice p, Applicative f) => AsShellCommand p f CmdSpec | |
| AsShellCommand p f String |
class AsRawCommand p f s where Source
Minimal complete definition
Nothing
Methods
_RawCommand :: Optic' p f s (FilePath, [String]) Source
Instances
| Applicative f => AsRawCommand (->) f CreateProcess | |
| (Choice p, Applicative f) => AsRawCommand p f CmdSpec | |
| AsRawCommand p f (FilePath, [String]) |