mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -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 *)
|
||||
|
||||
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
|
||||
(** 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
|
||||
(** @since 0.16
|
||||
Renamed from {!print} @since NEXT_RELEASE *)
|
||||
Renamed from {!print} @since 2.0 *)
|
||||
end
|
||||
|
||||
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 eq x h], use [eq] to find one [x] in [h] and delete it.
|
||||
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
|
||||
(** 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].
|
||||
The difference with {!filter} is that [delete_all] stops as soon as
|
||||
it enters a subtree whose root is bigger than the element.
|
||||
@since NEXT_RELEASE *)
|
||||
@since 2.0 *)
|
||||
|
||||
val iter : (elt -> unit) -> t -> unit
|
||||
(** Iterate on elements. *)
|
||||
|
|
@ -133,7 +133,7 @@ module type S = sig
|
|||
|
||||
val pp : ?sep:string -> elt printer -> t printer
|
||||
(** @since 0.16
|
||||
Renamed from {!print} @since NEXT_RELEASE *)
|
||||
Renamed from {!print} @since 2.0 *)
|
||||
end
|
||||
|
||||
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
|
||||
(** Return the given list without its first element.
|
||||
@since NEXT_RELEASE *)
|
||||
@since 2.0 *)
|
||||
|
||||
val last_opt : 'a t -> 'a option
|
||||
(** Last element.
|
||||
|
|
|
|||
|
|
@ -169,7 +169,7 @@ val head_opt : 'a t -> 'a option
|
|||
|
||||
val tail_opt : 'a t -> 'a t option
|
||||
(** Return the given list without its first element.
|
||||
@since NEXT_RELEASE *)
|
||||
@since 2.0 *)
|
||||
|
||||
val last_opt : 'a t -> 'a option
|
||||
(** Last element.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue