ghc-6.12.3: The GHC API
Source code
Contents
Index
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)
Instances
Monad
(
CmdLineP
s)
getCmdLineState
::
CmdLineP
s s
Source
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
DeprecatedFullText
String
errorsToGhcException
:: [
Located
String
] ->
GhcException
Source
Produced by
Haddock
version 2.6.1