ArgParser

Nested types and modules

TypeDescription
Inline

Functions and values

Function or valueDescription
( .>> ) p1 p2
Signature: p1:ArgumentParser<'?11766,'?11767> -> p2:ArgumentParser<'?11766,'?11768> -> IArgumentStream<'?11766> -> Reply<'?11767>
Type parameters: '?11766, '?11767, '?11768
( .>>. ) p1 p2
Signature: p1:ArgumentParser<'?11770,'?11771> -> p2:ArgumentParser<'?11770,'?11772> -> IArgumentStream<'?11770> -> Reply<'?11771 * '?11772>
Type parameters: '?11770, '?11771, '?11772
( |>> ) p f
Signature: p:ArgumentParser<'?11778,'?11779> -> f:('?11779 -> '?11780) -> IArgumentStream<'?11778> -> Reply<'?11780>
Type parameters: '?11778, '?11779, '?11780
( <?> ) p label
Signature: p:ArgumentParser<'u,'a> -> label:string -> ArgumentParser<'u,'a>
Type parameters: 'u, 'a
( <|> ) p1 p2
Signature: p1:ArgumentParser<'?11791,'?11792> -> p2:ArgumentParser<'?11791,'?11792> -> IArgumentStream<'?11791> -> Reply<'?11792>
Type parameters: '?11791, '?11792
( >>% ) p x
Signature: p:ArgumentParser<'?11758,'?11759> -> x:'?11760 -> IArgumentStream<'?11758> -> Reply<'?11760>
Type parameters: '?11758, '?11759, '?11760
( >>. ) p1 p2
Signature: p1:ArgumentParser<'?11762,'?11763> -> p2:ArgumentParser<'?11762,'?11764> -> IArgumentStream<'?11762> -> Reply<'?11764>
Type parameters: '?11762, '?11763, '?11764
( >>= ) p f stream
Signature: p:ArgumentParser<'u,'a> -> f:('a -> ArgumentParser<'u,'b>) -> stream:IArgumentStream<'u> -> Reply<'b>
Type parameters: 'u, 'a, 'b
between popen pclose p
Signature: popen:ArgumentParser<'u,'u> -> pclose:ArgumentParser<'u,'?11775> -> p:ArgumentParser<'u,'?11776> -> IArgumentStream<'u> -> Reply<'?11776>
Type parameters: 'u, '?11775, '?11776
choice ps stream
Signature: ps:seq<ArgumentParser<'u,'a>> -> stream:IArgumentStream<'u> -> Reply<'a>
Type parameters: 'u, 'a
choiceBest ps stream
Signature: ps:seq<ArgumentParser<'u,'a>> -> stream:IArgumentStream<'u> -> Reply<'a>
Type parameters: 'u, 'a
chooseParser itemType chooser stream
Signature: itemType:string -> chooser:(string option -> '?11845 option) -> stream:IArgumentStream<'?11846> -> Reply<'?11845>
Type parameters: '?11845, '?11846
chooseParser' itemType chooser
Signature: itemType:string -> chooser:(string -> '?11851 option) -> IArgumentStream<'?11852> -> Reply<'?11851>
Type parameters: '?11851, '?11852
chooseParserFull itemType chooser stream
Signature: itemType:string -> chooser:(string option -> '?11848 option) -> stream:IArgumentStream<'?11849> -> Reply<'?11848>
Type parameters: '?11848, '?11849
chooseParserFull' itemType chooser
Signature: itemType:string -> chooser:(string -> '?11854 option) -> IArgumentStream<'?11855> -> Reply<'?11854>
Type parameters: '?11854, '?11855
debug map' arg' stream'
Signature: map':('a -> IArgumentStream<'state> -> unit) -> arg':'a -> stream':IArgumentStream<'state> -> Reply<'a>
Type parameters: 'a, 'state
getParser(ast)
Signature: ast:UsageAst -> ArgumentParser<DocoptMap,Map<string,DocoptResult>>
many(p)
Signature: p:ArgumentParser<'?11799,'?11800> -> ArgumentParser<'?11799,'?11800 list>
Type parameters: '?11799, '?11800
many1(p)
Signature: p:ArgumentParser<'?11802,'?11803> -> ArgumentParser<'?11802,'?11803 list>
Type parameters: '?11802, '?11803
mergeMap m1 m2
Signature: m1:Map<'?11874,'?11875> -> m2:Map<'?11874,'?11875> -> Map<'?11874,'?11875>
Type parameters: '?11874, '?11875
mergeMaps(maps)
Signature: maps:seq<Map<'?11877,'?11878>> -> Map<'?11877,'?11878>
Type parameters: '?11877, '?11878
multipleSaveInMap(f)
Signature: f:('?11871 -> '?11872) -> '?11871 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?11871, '?11872
parg(argName)
Signature: argName:string -> IArgumentStream<'?11859> -> Reply<string>
Type parameters: '?11859
pcmd(cmd)
Signature: cmd:string -> IArgumentStream<'?11857> -> Reply<string>
Type parameters: '?11857
pLongFlag(flag)
Signature: flag:SafeOption -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
pOption includeShort o'
Signature: includeShort:bool -> o':SafeOption -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
pOptions allowMissing flags
Signature: allowMissing:bool -> flags:SafeOptions -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
preturn x stream
Signature: x:'?11748 -> stream:IArgumentStream<'?11749> -> Reply<'?11748>
Type parameters: '?11748, '?11749
pseq(ps)
Signature: ps:seq<ArgumentParser<'?11805,Map<'?11806,'?11807>>> -> ArgumentParser<'?11805,Map<'?11806,'?11807>>
Type parameters: '?11805, '?11806, '?11807
pShortFlag(flag)
Signature: flag:SafeOption -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
punorderedseq allowEmpty allowMissing ps
Signature: allowEmpty:bool -> allowMissing:bool -> ps:seq<ArgumentParser<'u,'a>> -> ArgumentParser<'u,'a list>
Type parameters: 'u, 'a
punorderedseqWithMany(...)
Signature: allowEmpty:bool -> allowMissing:bool -> ps:seq<bool * ArgumentParser<'u,'a>> -> stream:IArgumentStream<'u> -> Reply<'a list>
Type parameters: 'u, 'a
pzero(stream)
Signature: stream:IArgumentStream<'?11751> -> Reply<'?11752>
Type parameters: '?11751, '?11752
saveInMap key f
Signature: key:string -> f:('?11867 -> DocoptResult) -> '?11867 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?11867
saveInMapM keys f
Signature: keys:seq<string> -> f:('?11869 -> DocoptResult) -> '?11869 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?11869
updateMap key newItem map
Signature: key:string -> newItem:DocoptResult -> map:Map<string,DocoptResult> -> Map<string,DocoptResult>
updateUserState map' arg' stream'
Signature: map':('a -> DocoptMap -> DocoptMap) -> arg':'a -> stream':IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: 'a