Total_map.Makemodule Key : sig ... endinclude S with module Key = Keymodule Key = Keytype 'a t = (Key.t, 'a, comparator_witness, enumeration_witness) tinclude Ppx_compare_lib.Comparable.S1 with type 'a t := 'a tinclude Ppx_compare_lib.Comparable.S1__local with type 'a t := 'a tinclude Ppx_compare_lib.Equal.S1 with type 'a t := 'a tinclude Ppx_compare_lib.Equal.S1__local with type 'a t := 'a tinclude sig ... endval quickcheck_generator :
'a Core.Quickcheck.Generator.t ->
'a t Core.Quickcheck.Generator.tval quickcheck_observer :
'a Core.Quickcheck.Observer.t ->
'a t Core.Quickcheck.Observer.tval quickcheck_shrinker :
'a Core.Quickcheck.Shrinker.t ->
'a t Core.Quickcheck.Shrinker.tinclude Core.Applicative with type 'a t := 'a tval return : 'a 'p 'q. 'a -> 'a tConvert a value to a t.
Applies the functions in one t to the values in another. Well-behaved applicatives satisfy these "laws", using <*> as infix apply:
return Fn.id <*> t is equivalent to treturn Fn.compose <*> tf <*> tg <*> tx is equivalent to tf <*> (tg <*> tx)return f <*> return x is equivalent to return (f x)tf <*> return x is equivalent to return (fun f -> f x) <*> tfCombines values in two ts as tuples. Using <*> as infix apply, equivalent to return (fun a b -> a, b) <*> ta <*> tb.
Transforms the contents of a t. Using <*> as infix apply, equivalent to return f <*> t.
Combines the contents of two ts. Using <*> as infix apply, equivalent to return f <*> ta <*> tb.
Combines the contents of three ts. Using <*> as infix apply, equivalent to return f <*> ta <*> tb <*> tc.
module Applicative_infix : sig ... endval create_const : 'a -> 'a tval of_map_exn : (Key.t, 'a, comparator_witness) Core.Map.t -> 'a tNote that of_alist_multi keylist will contain empty list items if a given Key.t is not present in keylist
include Core.Sexpable.S1 with type 'a t := 'a tval t_of_sexp : 'a. (Sexplib0.Sexp.t -> 'a) -> Sexplib0.Sexp.t -> 'a tval sexp_of_t : 'a. ('a -> Sexplib0.Sexp.t) -> 'a t -> Sexplib0.Sexp.tinclude Core.Binable.S1 with type 'a t := 'a tval bin_shape_t : Bin_prot.Shape.t -> Bin_prot.Shape.tinclude sig ... endval bin_size_t : 'a. ('a, 'a t) Bin_prot.Size.sizer1val bin_write_t : 'a. ('a, 'a t) Bin_prot.Write.writer1val bin_read_t : 'a. ('a, 'a t) Bin_prot.Read.reader1val __bin_read_t__ : 'a. ('a, 'a t) Bin_prot.Read.vtag_reader1val bin_writer_t : 'a. ('a, 'a t) Bin_prot.Type_class.S1.writerval bin_reader_t : 'a. ('a, 'a t) Bin_prot.Type_class.S1.readerval bin_t : 'a. ('a, 'a t) Bin_prot.Type_class.S1.t