package libmojave
Module Lm_argSource
Source
type 'a poly_spec = | Unit of unit -> unit| Set of bool ref| Clear of bool ref| String of string -> unit| Int of int -> unit| Float of float -> unit| Rest of string -> unit| UnitFold of 'a -> 'a| SetFold of 'a -> bool -> 'a| ClearFold of 'a -> bool -> 'a| StringFold of 'a -> string -> 'a| IntFold of 'a -> int -> 'a| FloatFold of 'a -> float -> 'a| RestFold of 'a -> string -> 'a| Usage
Source
val fold_argv :
string array ->
'a poly_sections ->
'a ->
('a -> string -> 'a * bool) ->
string ->
'a