package cmdlang

  1. Overview
  2. Docs
type 'a t =
  1. | Conv : {
    1. docv : string option;
    2. parse : 'a parse;
    3. print : 'a print;
    } -> 'a t
  2. | String : string t
  3. | Int : int t
  4. | Float : float t
  5. | Bool : bool t
  6. | File : string t
  7. | Enum : {
    1. docv : string option;
    2. choices : (string * 'a) Nonempty_list.t;
    3. to_string : 'a -> string;
    } -> 'a t
  8. | Comma_separated : 'a t -> 'a list t
OCaml

Innovation. Community. Security.