package octez-proto-libs

  1. Overview
  2. Docs
type 'a t
type 'a arg = 'a t
val make : ?descr:string -> name:string -> destruct:(string -> ('a, string) Pervasives.result) -> construct:('a -> string) -> unit -> 'a arg
type descr = {
  1. name : string;
  2. descr : string option;
}
val descr : 'a arg -> descr
val bool : bool arg
val int : int arg
val int32 : int32 arg
val int64 : int64 arg
val string : string arg
val like : 'a arg -> ?descr:string -> string -> 'a arg
type ('a, 'b) eq =
  1. | Eq : ('a, 'a) eq
val eq : 'a arg -> 'b arg -> ('a, 'b) eq option
OCaml

Innovation. Community. Security.