package ez_api

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type (_, _) t =
  1. | Root : ('r, 'r) t
  2. | Static : ('r, 'key) t * string -> ('r, 'key) t
  3. | Dynamic : ('r, 'key) t * 'a Arg.t -> ('r, 'key * 'a) t
val root : ('a, 'a) t
val add_suffix : ('a, 'b) t -> string -> ('a, 'b) t
val add_arg : ('a, 'b) t -> 'c Arg.t -> ('a, 'b * 'c) t
val (//) : ('a, 'b) t -> string -> ('a, 'b) t
val (/:) : ('a, 'b) t -> 'c Arg.t -> ('a, 'b * 'c) t
val to_list : ?root:string list -> ?wrap:(string -> string) -> ('a, 'b) t -> string list
val args : ('a, 'b) t -> Arg.descr list
val to_string : ?root:string -> ?wrap:(string -> string) -> ('a, 'b) t -> string
val forge : ('a, 'b) t -> 'b -> string list
val get_root : 'r 'a. ('r, 'a) t -> 'a -> 'r
OCaml

Innovation. Community. Security.