ghc-6.12.2: The GHC APISource codeContentsIndex
CmdLineParser
Documentation
processArgs :: Monad m => [Flag m] -> [Located String] -> m ([Located String], [Located String], [Located String])Source
data OptKind m Source
Constructors
NoArg (m ())
HasArg (String -> m ())
SepArg (String -> m ())
Prefix (String -> m ())
OptPrefix (String -> m ())
OptIntSuffix (Maybe Int -> m ())
IntSuffix (Int -> m ())
PassFlag (String -> m ())
AnySuffix (String -> m ())
PrefixPred (String -> Bool) (String -> m ())
AnySuffixPred (String -> Bool) (String -> m ())
newtype CmdLineP s a Source
Constructors
CmdLineP
runCmdLine :: s -> (a, s)
show/hide Instances
getCmdLineState :: CmdLineP s sSource
putCmdLineState :: s -> CmdLineP s ()Source
data Flag m Source
Constructors
Flag
flagName :: String
flagOptKind :: OptKind m
flagDeprecated :: Deprecated
data Deprecated Source
Constructors
Supported
Deprecated String
errorsToGhcException :: [Located String] -> GhcExceptionSource
Produced by Haddock version 2.6.1