package ez_api

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module EzAPI.ArgSource

Sourcemodule Ty : sig ... end
Sourcetype descr = {
  1. name : string;
  2. descr : string option;
  3. example : string option;
}
Sourcetype 'a t = {
  1. id : 'a Ty.id;
  2. destruct : string -> ('a, string) result;
  3. construct : 'a -> string;
  4. description : descr;
}
Sourceval make : ?example:'a -> ?descr:string -> name:string -> destruct:(string -> ('a, string) result) -> construct:('a -> string) -> unit -> 'a t
Sourceval descr : 'a t -> descr
Sourceval int : ?descr:string -> ?example:int -> string -> int t
Sourceval float : ?descr:string -> ?example:float -> string -> float t
Sourceval int32 : ?descr:string -> ?example:int32 -> string -> int32 t
Sourceval int64 : ?descr:string -> ?example:int64 -> string -> int64 t
Sourceval string : ?descr:string -> ?example:string -> string -> string t
OCaml

Innovation. Community. Security.