package bonsai

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a t = {
  1. default : 'a;
  2. equal : 'a -> 'a -> bool;
  3. type_id : 'a Core.Type_equal.Id.t;
  4. sexp_of : 'a -> Core.Sexp.t;
  5. of_sexp : Core.Sexp.t -> 'a;
}
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) -> 'a t -> ('k, 'a, 'cmp) Core.Map.t t
val of_module : (module Bonsai__.Module_types.Model with type t = 'a) -> default:'a -> name:string -> 'a t