package bonsai

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

Module Meta.ModelSource

Sourcetype '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;
}
Sourcemodule Hidden : sig ... end
Sourceval unit : unit t
Sourceval both : 'a t -> 'b t -> ('a * 'b) t
Sourceval 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
Sourceval 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
Sourceval of_module : (module Bonsai__.Module_types.Model with type t = 'a) -> default:'a -> name:string -> 'a t
OCaml

Innovation. Community. Security.