package bonsai

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Type_id : Type_id
type 'a t = {
  1. default : 'a;
  2. equal : 'a -> 'a -> bool;
  3. type_id : 'a Type_id.t;
  4. sexp_of : 'a -> Core.Sexp.t;
  5. of_sexp : Core.Sexp.t -> 'a;
}
module Hidden : sig ... end
val unit : unit t
val both : 'a t -> 'b t -> ('a * 'b) t
val map : (module Bonsai__.Import.Comparator with type comparator_witness = 'cmp and type t = 'k) -> 'k Core.Type_equal.Id.t -> 'cmp Core.Type_equal.Id.t -> 'a t -> ('k, 'a, 'cmp) Core.Map.t t
val map_on : (module Bonsai__.Import.Comparator with type comparator_witness = 'cmp and type t = 'k) -> (module Bonsai__.Import.Comparator with type comparator_witness = 'cmp_io and type t = 'k_io) -> 'k Core.Type_equal.Id.t -> 'k_io Core.Type_equal.Id.t -> 'cmp Core.Type_equal.Id.t -> 'a t -> ('k, 'k_io * 'a, 'cmp) Core.Map.t t
val of_module : (module Bonsai__.Module_types.Model with type t = 'a) -> default:'a -> name:string -> 'a t
OCaml

Innovation. Community. Security.