dmc-1.0: cmd for common cases

Safe HaskellSafe
LanguageHaskell2010

System.Process.TypeDmc

Synopsis

Documentation

newtype Cwd Source #

current working dir

Constructors

Cwd FilePath 

Instances

Show Cwd Source # 

Methods

showsPrec :: Int -> Cwd -> ShowS #

show :: Cwd -> String #

showList :: [Cwd] -> ShowS #

newtype Cmd a Source #

cmd or file

Constructors

Cmd a 

Instances

Functor Cmd Source # 

Methods

fmap :: (a -> b) -> Cmd a -> Cmd b #

(<$) :: a -> Cmd b -> Cmd a #

Show a => Show (Cmd a) Source # 

Methods

showsPrec :: Int -> Cmd a -> ShowS #

show :: Cmd a -> String #

showList :: [Cmd a] -> ShowS #

newtype Arg a Source #

arg to executable

Constructors

Arg a 

Instances

Functor Arg Source # 

Methods

fmap :: (a -> b) -> Arg a -> Arg b #

(<$) :: a -> Arg b -> Arg a #

Show a => Show (Arg a) Source # 

Methods

showsPrec :: Int -> Arg a -> ShowS #

show :: Arg a -> String #

showList :: [Arg a] -> ShowS #

newtype Stdout Source #

stdout output

Constructors

Stdout String 

Instances

newtype Stderr Source #

stderr output

Constructors

Stderr String 

Instances