Module type Map_intf.For_derivingSource
include Base.Map.For_deriving
module type Sexp_of_m = sig ... endmodule type M_of_sexp = sig ... endmodule type M_sexp_grammar = sig ... endmodule type Compare_m = sig ... endmodule type Equal_m = sig ... endmodule type Hash_fold_m = Base.Hasher.Sval sexp_of_m__t :
(module Sexp_of_m with type t = 'k) ->
('v -> Base.Sexp.t) ->
('k, 'v, 'cmp) t ->
Base.Sexp.tval m__t_of_sexp :
(module M_of_sexp with type comparator_witness = 'cmp and type t = 'k) ->
(Base.Sexp.t -> 'v) ->
Base.Sexp.t ->
('k, 'v, 'cmp) tval m__t_sexp_grammar :
(module M_sexp_grammar with type t = 'k) ->
'v Sexplib0.Sexp_grammar.t ->
('k, 'v, 'cmp) t Sexplib0.Sexp_grammar.tval hash_fold_m__t :
(module Hash_fold_m with type t = 'k) ->
(Base.Hash.state -> 'v -> Base.Hash.state) ->
Base.Hash.state ->
('k, 'v, _) t ->
Base.Hash.statemodule M = Base.Map.MThe following *bin* functions support bin-io on base-style maps, e.g.:
type t = int Map.M(String).t [@@deriving bin_io] val bin_shape_m__t :
('a, 'c) Core.Map_intf.Key_bin_io.t ->
Bin_prot.Shape.t ->
Bin_prot.Shape.tval bin_size_m__t :
('a, 'c) Core.Map_intf.Key_bin_io.t ->
'b Bin_prot.Size.sizer ->
('a, 'b, 'c) t Bin_prot.Size.sizerval bin_write_m__t :
('a, 'c) Core.Map_intf.Key_bin_io.t ->
'b Bin_prot.Write.writer ->
('a, 'b, 'c) t Bin_prot.Write.writerval bin_read_m__t :
('a, 'c) Core.Map_intf.Key_bin_io.t ->
'b Bin_prot.Read.reader ->
('a, 'b, 'c) t Bin_prot.Read.readerval __bin_read_m__t__ :
('a, 'c) Core.Map_intf.Key_bin_io.t ->
'b Bin_prot.Read.reader ->
(Base.Int.t -> ('a, 'b, 'c) 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] module type Quickcheck_generator_m = sig ... endmodule type Quickcheck_observer_m = sig ... endmodule type Quickcheck_shrinker_m = sig ... endval quickcheck_generator_m__t :
(module Quickcheck_generator_m
with type comparator_witness = 'cmp
and type t = 'k) ->
'v Core.Quickcheck.Generator.t ->
('k, 'v, 'cmp) t Core.Quickcheck.Generator.tval quickcheck_observer_m__t :
(module Quickcheck_observer_m
with type comparator_witness = 'cmp
and type t = 'k) ->
'v Core.Quickcheck.Observer.t ->
('k, 'v, 'cmp) t Core.Quickcheck.Observer.tval quickcheck_shrinker_m__t :
(module Quickcheck_shrinker_m
with type comparator_witness = 'cmp
and type t = 'k) ->
'v Core.Quickcheck.Shrinker.t ->
('k, 'v, 'cmp) t Core.Quickcheck.Shrinker.t