Module Stable.V1Source
include Core.Map_intf.For_deriving
with type ('a, 'b, 'c) t := ('a, 'b, 'c) Core.Map.Stable.V1.t
include Base.Map.For_deriving
with type ('a, 'b, 'c) t := ('a, 'b, 'c) Core.Map.Stable.V1.t
Source
val sexp_of_m__t :
(module Core.Map.Stable.V1.Sexp_of_m with type t = 'k) ->
('v -> Base.Sexp.t) ->
('k, 'v, 'cmp) Core.Map.Stable.V1.t ->
Base.Sexp.tSource
val m__t_of_sexp :
(module Core.Map.Stable.V1.M_of_sexp
with type comparator_witness = 'cmp
and type t = 'k) ->
(Base.Sexp.t -> 'v) ->
Base.Sexp.t ->
('k, 'v, 'cmp) Core.Map.Stable.V1.tSource
val m__t_sexp_grammar :
(module Core.Map.Stable.V1.M_sexp_grammar with type t = 'k) ->
'v Sexplib0.Sexp_grammar.t ->
('k, 'v, 'cmp) Core.Map.Stable.V1.t Sexplib0.Sexp_grammar.tSource
val compare_m__t :
(module Core.Map.Stable.V1.Compare_m) ->
('v -> 'v -> int) ->
('k, 'v, 'cmp) Core.Map.Stable.V1.t ->
('k, 'v, 'cmp) Core.Map.Stable.V1.t ->
intSource
val equal_m__t :
(module Core.Map.Stable.V1.Equal_m) ->
('v -> 'v -> bool) ->
('k, 'v, 'cmp) Core.Map.Stable.V1.t ->
('k, 'v, 'cmp) Core.Map.Stable.V1.t ->
boolSource
val hash_fold_m__t :
(module Core.Map.Stable.V1.Hash_fold_m with type t = 'k) ->
(Base.Hash.state -> 'v -> Base.Hash.state) ->
Base.Hash.state ->
('k, 'v, _) Core.Map.Stable.V1.t ->
Base.Hash.stateThe following *bin* functions support bin-io on base-style maps, e.g.:
type t = int Map.M(String).t [@@deriving bin_io] Source
val bin_shape_m__t :
('a, 'c) Core.Map_intf.Key_bin_io.t ->
Bin_prot.Shape.t ->
Bin_prot.Shape.tSource
val bin_size_m__t :
('a, 'c) Core.Map_intf.Key_bin_io.t ->
'b Bin_prot.Size.sizer ->
('a, 'b, 'c) Core.Map.Stable.V1.t Bin_prot.Size.sizerSource
val bin_write_m__t :
('a, 'c) Core.Map_intf.Key_bin_io.t ->
'b Bin_prot.Write.writer ->
('a, 'b, 'c) Core.Map.Stable.V1.t Bin_prot.Write.writerSource
val bin_read_m__t :
('a, 'c) Core.Map_intf.Key_bin_io.t ->
'b Bin_prot.Read.reader ->
('a, 'b, 'c) Core.Map.Stable.V1.t Bin_prot.Read.readerSource
val __bin_read_m__t__ :
('a, 'c) Core.Map_intf.Key_bin_io.t ->
'b Bin_prot.Read.reader ->
(Base.Int.t -> ('a, 'b, 'c) Core.Map.Stable.V1.t) Bin_prot.Read.readerThe following quickcheck* functions support deriving quickcheck on base-style maps, e.g.:
type t = int Map.M(String).t [@@deriving quickcheck] Source
val quickcheck_generator_m__t :
(module Core.Map.Stable.V1.Quickcheck_generator_m
with type comparator_witness = 'cmp
and type t = 'k) ->
'v Core.Quickcheck.Generator.t ->
('k, 'v, 'cmp) Core.Map.Stable.V1.t Core.Quickcheck.Generator.tSource
val quickcheck_observer_m__t :
(module Core.Map.Stable.V1.Quickcheck_observer_m
with type comparator_witness = 'cmp
and type t = 'k) ->
'v Core.Quickcheck.Observer.t ->
('k, 'v, 'cmp) Core.Map.Stable.V1.t Core.Quickcheck.Observer.tSource
val quickcheck_shrinker_m__t :
(module Core.Map.Stable.V1.Quickcheck_shrinker_m
with type comparator_witness = 'cmp
and type t = 'k) ->
'v Core.Quickcheck.Shrinker.t ->
('k, 'v, 'cmp) Core.Map.Stable.V1.t Core.Quickcheck.Shrinker.tinclude Core.Map_intf.For_deriving_stable
with type ('a, 'b, 'c) t := ('a, 'b, 'c) Core.Map.Stable.V1.t
Source
val stable_witness_m__t :
(module Core.Map.Stable.V1.Stable_witness_m
with type comparator_witness = 'cmp
and type t = 'k) ->
'v Stable_witness.t ->
('k, 'v, 'cmp) Core.Map.Stable.V1.t Stable_witness.tSource
module Make
(Key : sig ... end) :
Core.Map.Stable.V1.S
with type key := Key.t
with type comparator_witness := Key.comparator_witness