cut long lines
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10483 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
b0c511558c
commit
49e3d68bb5
|
@ -62,7 +62,8 @@ module type S =
|
|||
in [m], its previous binding disappears. *)
|
||||
|
||||
val singleton: key -> 'a -> 'a t
|
||||
(** [singleton x y] returns the one-element map that contains a binding [y] for [x].
|
||||
(** [singleton x y] returns the one-element map that contains a binding [y]
|
||||
for [x].
|
||||
@since 3.12.0
|
||||
*)
|
||||
|
||||
|
@ -70,8 +71,11 @@ module type S =
|
|||
(** [remove x m] returns a map containing the same bindings as
|
||||
[m], except for [x] which is unbound in the returned map. *)
|
||||
|
||||
val merge: (key -> 'a option -> 'b option -> 'c option) -> 'a t -> 'b t -> 'c t
|
||||
(** [merge f m1 m2] compute a map whose keys is a subset of keys of [m1] and of [m2]. The presence of each such binding, and the corresponding value, is determined with the function [f].
|
||||
val merge:
|
||||
(key -> 'a option -> 'b option -> 'c option) -> 'a t -> 'b t -> 'c t
|
||||
(** [merge f m1 m2] computes a map whose keys is a subset of keys of [m1]
|
||||
and of [m2]. The presence of each such binding, and the corresponding
|
||||
value, is determined with the function [f].
|
||||
@since 3.12.0
|
||||
*)
|
||||
|
||||
|
|
Loading…
Reference in New Issue