mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 19:25:28 -05:00
prepare for 2.0+alpha2
This commit is contained in:
parent
ddf709fc5b
commit
c382c1c2e5
5 changed files with 8 additions and 8 deletions
|
|
@ -41,7 +41,7 @@ val to_int : t -> int
|
||||||
@since 1.0 *)
|
@since 1.0 *)
|
||||||
|
|
||||||
val pp_buf : Buffer.t -> t -> unit
|
val pp_buf : Buffer.t -> t -> unit
|
||||||
(** Used to be {!pp}, changed name @since NEXT_RELEASE *)
|
(** Used to be {!pp}, changed name @since 2.0 *)
|
||||||
|
|
||||||
val pp : Format.formatter -> t -> unit
|
val pp : Format.formatter -> t -> unit
|
||||||
(** Used to be {!print}, changed name @since NEXT_RELEASE *)
|
(** Used to be {!print}, changed name @since 2.0 *)
|
||||||
|
|
|
||||||
|
|
@ -195,7 +195,7 @@ module type S = sig
|
||||||
|
|
||||||
val pp : ?sep:string -> elt printer -> t printer
|
val pp : ?sep:string -> elt printer -> t printer
|
||||||
(** @since 0.16
|
(** @since 0.16
|
||||||
Renamed from {!print} @since NEXT_RELEASE *)
|
Renamed from {!print} @since 2.0 *)
|
||||||
end
|
end
|
||||||
|
|
||||||
module Make(E : PARTIAL_ORD) : S with type elt = E.t = struct
|
module Make(E : PARTIAL_ORD) : S with type elt = E.t = struct
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ module type S = sig
|
||||||
(** Delete one occurrence of a value if it exist in the heap.
|
(** Delete one occurrence of a value if it exist in the heap.
|
||||||
[delete_one eq x h], use [eq] to find one [x] in [h] and delete it.
|
[delete_one eq x h], use [eq] to find one [x] in [h] and delete it.
|
||||||
If [h] do not contain [x] then it return [h].
|
If [h] do not contain [x] then it return [h].
|
||||||
@since NEXT_RELEASE *)
|
@since 2.0 *)
|
||||||
|
|
||||||
val delete_all : (elt -> elt -> bool) -> elt -> t -> t
|
val delete_all : (elt -> elt -> bool) -> elt -> t -> t
|
||||||
(** Delete all occurrences of a value in the heap.
|
(** Delete all occurrences of a value in the heap.
|
||||||
|
|
@ -67,7 +67,7 @@ module type S = sig
|
||||||
If [h] do not contain [x] then it return [h].
|
If [h] do not contain [x] then it return [h].
|
||||||
The difference with {!filter} is that [delete_all] stops as soon as
|
The difference with {!filter} is that [delete_all] stops as soon as
|
||||||
it enters a subtree whose root is bigger than the element.
|
it enters a subtree whose root is bigger than the element.
|
||||||
@since NEXT_RELEASE *)
|
@since 2.0 *)
|
||||||
|
|
||||||
val iter : (elt -> unit) -> t -> unit
|
val iter : (elt -> unit) -> t -> unit
|
||||||
(** Iterate on elements. *)
|
(** Iterate on elements. *)
|
||||||
|
|
@ -133,7 +133,7 @@ module type S = sig
|
||||||
|
|
||||||
val pp : ?sep:string -> elt printer -> t printer
|
val pp : ?sep:string -> elt printer -> t printer
|
||||||
(** @since 0.16
|
(** @since 0.16
|
||||||
Renamed from {!print} @since NEXT_RELEASE *)
|
Renamed from {!print} @since 2.0 *)
|
||||||
end
|
end
|
||||||
|
|
||||||
module Make(E : PARTIAL_ORD) : S with type elt = E.t
|
module Make(E : PARTIAL_ORD) : S with type elt = E.t
|
||||||
|
|
|
||||||
|
|
@ -254,7 +254,7 @@ val head_opt : 'a t -> 'a option
|
||||||
|
|
||||||
val tail_opt : 'a t -> 'a t option
|
val tail_opt : 'a t -> 'a t option
|
||||||
(** Return the given list without its first element.
|
(** Return the given list without its first element.
|
||||||
@since NEXT_RELEASE *)
|
@since 2.0 *)
|
||||||
|
|
||||||
val last_opt : 'a t -> 'a option
|
val last_opt : 'a t -> 'a option
|
||||||
(** Last element.
|
(** Last element.
|
||||||
|
|
|
||||||
|
|
@ -169,7 +169,7 @@ val head_opt : 'a t -> 'a option
|
||||||
|
|
||||||
val tail_opt : 'a t -> 'a t option
|
val tail_opt : 'a t -> 'a t option
|
||||||
(** Return the given list without its first element.
|
(** Return the given list without its first element.
|
||||||
@since NEXT_RELEASE *)
|
@since 2.0 *)
|
||||||
|
|
||||||
val last_opt : 'a t -> 'a option
|
val last_opt : 'a t -> 'a option
|
||||||
(** Last element.
|
(** Last element.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue