package ecaml

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

An 'a Type.t is an isomorphism between 'a and a subset of Value.t.

type 'a t = {
  1. name : Core_kernel.Sexp.t;
  2. of_value_exn : t -> 'a;
  3. to_value : 'a -> t;
}
include sig ... end
val sexp_of_t : ('a -> Sexplib.Sexp.t) -> 'a t -> Sexplib.Sexp.t
val bool : bool t
val int : int t
val string : string t
val value : t t
val list : 'a t -> 'a list t
val option : 'a t -> 'a option t
val alist : 'a t -> 'b t -> ('a * 'b) list t
OCaml

Innovation. Community. Security.