Up
Module
Assoc
Signature
type
('a, 'b) t = ('a * 'b) list
val
compare : 'a 'b . ('a -> 'a -> int) -> ('b -> 'b -> int) -> ('a, 'b)
t
-> ('a, 'b)
t
-> int
val
compare_t : ('a -> 'a -> int) -> ('b -> 'b -> int) -> ('a, 'b)
t
-> ('a, 'b)
t
-> int
val
t_of_sexp : 'a 'b . (
Sexplib.Sexp.t
-> 'a) -> (
Sexplib.Sexp.t
-> 'b) ->
Sexplib.Sexp.t
-> ('a, 'b)
t
val
sexp_of_t : 'a 'b . ('a ->
Sexplib.Sexp.t
) -> ('b ->
Sexplib.Sexp.t
) -> ('a, 'b)
t
->
Sexplib.Sexp.t
val
bin_size_t : ('a -> int) -> ('b -> int) -> ('a * 'b) list -> int
val
bin_write_t : (
Bin_prot.Common.buf
-> pos:
Bin_prot.Common.pos
-> 'a -> 'b) -> (
Bin_prot.Common.buf
-> pos:'b -> 'c ->
Bin_prot.Common.pos
) ->
Bin_prot.Common.buf
-> pos:
Bin_prot.Common.pos
-> ('a * 'c) list ->
Bin_prot.Common.pos
val
bin_writer_t : 'a
Bin_prot.Type_class.writer
-> 'b
Bin_prot.Type_class.writer
-> ('a * 'b) list
Bin_prot.Type_class.writer
val
__bin_read_t__ : ('a -> pos_ref:'b -> 'c) -> ('a -> pos_ref:'b -> 'd) -> 'e -> pos_ref:
Bin_prot.Common.pos
Pervasives.ref -> 'f -> 'g
val
bin_read_t : (
Bin_prot.Common.buf
-> pos_ref:
Bin_prot.Common.pos_ref
-> 'a) -> (
Bin_prot.Common.buf
-> pos_ref:
Bin_prot.Common.pos_ref
-> 'b) ->
Bin_prot.Common.buf
-> pos_ref:
Bin_prot.Common.pos_ref
-> ('a * 'b) list
val
bin_reader_t : 'a
Bin_prot.Type_class.reader
-> 'b
Bin_prot.Type_class.reader
-> ('a * 'b) list
Bin_prot.Type_class.reader
val
bin_t : 'a
Bin_prot.Type_class.t
-> 'b
Bin_prot.Type_class.t
-> ('a * 'b) list
Bin_prot.Type_class.t
val
find : ('a * 'b) list -> ?equal:('a -> 'a -> bool) -> 'a -> 'b option
val
find_exn : ('a * 'b) list -> ?equal:('a -> 'a -> bool) -> 'a -> 'b
val
mem : ('a * 'b) list -> ?equal:('a -> 'a -> bool) -> 'a -> bool
val
remove : ('a * 'b) list -> ?equal:('a -> 'a -> bool) -> 'a -> ('a * 'b) list
val
add : ('a * 'b) list -> ?equal:('a -> 'a -> bool) -> 'a -> 'b -> ('a * 'b) list
val
inverse : ('a * 'b) list -> ('b * 'a) list
val
map : ('a * 'b) list -> f:('b -> 'c) -> ('a * 'c) list