uniform-cmdLineArgs-0.1.5.1: a convenient handling of command line arguments
Safe HaskellSafe-Inferred
LanguageHaskell2010

CmdLineArgsExample

Synopsis

Documentation

main :: IO () Source #

data LitArgs Source #

the command line arguments raw number of args must correspond in order and number with the command arguments described in the parser

Constructors

LitArgs 

Fields

Instances

Instances details
Show LitArgs Source # 
Instance details

Defined in CmdLineArgsExample

cmdArgs :: Parser LitArgs Source #

strings which have no default result in enforced arguments order and type of arguments must correspod to LitArgs

data Inputs Source #

the arguments in the program usable format

Constructors

Inputs 

Fields

Instances

Instances details
Read Inputs Source # 
Instance details

Defined in CmdLineArgsExample

Show Inputs Source # 
Instance details

Defined in CmdLineArgsExample

Eq Inputs Source # 
Instance details

Defined in CmdLineArgsExample

Methods

(==) :: Inputs -> Inputs -> Bool #

(/=) :: Inputs -> Inputs -> Bool #

mainExample :: (MonadIO m, Show a) => a -> m () Source #