package climate

  1. Overview
  2. Docs

Module Arg_parser.ReentrantSource

Stripped down versions of some functions from the parent module for use in reentrant completion functions. None of the documentation arguments are present as there is no access to documentation for the parsers for these functions. Parsers that would fail when passed multiple times no longer fail under this condition, since any errors encountered during autocompletion will be ignored, and it's more useful to have these functions do something rather than nothing.

Stripped down versions of some functions from the parent module for use in reentrant completion functions. None of the documentation arguments are present as there is no access to documentation for the parsers for these functions. Parsers that would fail when passed multiple times no longer fail under this condition, since any errors encountered during autocompletion will be ignored, and it's more useful to have these functions do something rather than nothing.

Sourceval unit : unit Arg_parser.t
Sourceval map : 'a Arg_parser.t -> f:('a -> 'b) -> 'b Arg_parser.t
Sourceval both : 'a Arg_parser.t -> 'b Arg_parser.t -> ('a * 'b) Arg_parser.t
Sourceval (>>|) : 'a Arg_parser.t -> ('a -> 'b) -> 'b Arg_parser.t
Sourceval (let+) : 'a Arg_parser.t -> ('a -> 'b) -> 'b Arg_parser.t
Sourceval (and+) : 'a Arg_parser.t -> 'b Arg_parser.t -> ('a * 'b) Arg_parser.t
Sourceval named_multi : string list -> 'a Arg_parser.conv -> 'a list Arg_parser.t
Sourceval named_opt : string list -> 'a Arg_parser.conv -> 'a option Arg_parser.t
Sourceval named_with_default : string list -> 'a Arg_parser.conv -> default:'a -> 'a Arg_parser.t
Sourceval flag_count : string list -> int Arg_parser.t
Sourceval flag : string list -> bool Arg_parser.t
Sourceval pos_opt : int -> 'a Arg_parser.conv -> 'a option Arg_parser.t
Sourceval pos_all : 'a Arg_parser.conv -> 'a list Arg_parser.t
Sourceval pos_left : int -> 'a Arg_parser.conv -> 'a list Arg_parser.t
Sourceval pos_right : int -> 'a Arg_parser.conv -> 'a list Arg_parser.t