base

Full standard library replacement for OCaml
IN THIS PACKAGE
type ('k, 'v) t = 'k * [ `Left of 'v | `Right of 'v | `Unequal of 'v * 'v ]
val compare : ( 'k -> 'k -> int ) -> ( 'v -> 'v -> int ) -> ( 'k, 'v ) t -> ( 'k, 'v ) t -> int
include Sexpable.S2 with type ('k, 'v) t := ( 'k, 'v ) t
val t_of_sexp : ( Sexplib0.Sexp.t -> 'a ) -> ( Sexplib0.Sexp.t -> 'b ) -> Sexplib0.Sexp.t -> ( 'a, 'b ) t
val sexp_of_t : ( 'a -> Sexplib0.Sexp.t ) -> ( 'b -> Sexplib0.Sexp.t ) -> ( 'a, 'b ) t -> Sexplib0.Sexp.t