diff --git a/_oasis b/_oasis index f76776a2..0ba9e705 100644 --- a/_oasis +++ b/_oasis @@ -1,6 +1,6 @@ OASISFormat: 0.4 Name: containers -Version: dev +Version: 0.6 Homepage: https://github.com/c-cube/ocaml-containers Authors: Simon Cruanes License: BSD-2-clause diff --git a/core/CCCache.mli b/core/CCCache.mli index a50b8ee6..33533aa1 100644 --- a/core/CCCache.mli +++ b/core/CCCache.mli @@ -27,7 +27,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Particularly useful for memoization. See {!with_cache} and {!with_cache_rec} for more details. -@since NEXT_RELEASE *) +@since 0.6 *) type 'a equal = 'a -> 'a -> bool type 'a hash = 'a -> int @@ -46,7 +46,7 @@ f' 1;; (* prints *) f' 0;; (* doesn't print, returns cached value *) ]} -@since NEXT_RELEASE *) +@since 0.6 *) type ('a, 'b) t diff --git a/core/CCFun.mli b/core/CCFun.mli index 2d7ab372..1a371705 100644 --- a/core/CCFun.mli +++ b/core/CCFun.mli @@ -36,7 +36,7 @@ val compose_binop : ('a -> 'b) -> ('b -> 'b -> 'c) -> 'a -> 'a -> 'c (** [compose_binop f g] is [fun x y -> g (f x) (f y)] Example (partial order): [List.sort (compose_binop fst CCInt.compare) [1, true; 2, false; 1, false]] - @since NEXT_RELEASE*) + @since 0.6*) val (%>) : ('a -> 'b) -> ('b -> 'c) -> 'a -> 'c (** Alias to [compose] *) diff --git a/core/CCIO.mli b/core/CCIO.mli index 3e18f3e9..1e29f134 100644 --- a/core/CCIO.mli +++ b/core/CCIO.mli @@ -31,7 +31,7 @@ way. For advanced IO tasks, the user is advised to use something like Lwt or Async, that are far more comprehensive. This module depends on {!CCGen}. -@since NEXT_RELEASE +@since 0.6 {b NOTE} this was formerly a monadic IO module. The old module is now in [containers.advanced] under the name [CCMonadIO]. diff --git a/core/CCList.mli b/core/CCList.mli index f00c2af3..21e1f63a 100644 --- a/core/CCList.mli +++ b/core/CCList.mli @@ -50,7 +50,7 @@ val fold_right : ('a -> 'b -> 'b) -> 'a t -> 'b -> 'b val init : int -> (int -> 'a) -> 'a t (** Same as [Array.init] - @since NEXT_RELEASE *) + @since 0.6 *) val compare : ('a -> 'a -> int) -> 'a t -> 'a t -> int diff --git a/core/CCMultiSet.mli b/core/CCMultiSet.mli index 826f394b..a6574d4a 100644 --- a/core/CCMultiSet.mli +++ b/core/CCMultiSet.mli @@ -48,19 +48,19 @@ module type S = sig val add_mult : t -> elt -> int -> t (** [add_mult set x n] adds [n] occurrences of [x] to [set] @raise Invalid_argument if [n < 0] - @since NEXT_RELEASE *) + @since 0.6 *) val remove_mult : t -> elt -> int -> t (** [remove_mult set x n] removes at most [n] occurrences of [x] from [set] @raise Invalid_argument if [n < 0] - @since NEXT_RELEASE *) + @since 0.6 *) val update : t -> elt -> (int -> int) -> t (** [update set x f] calls [f n] where [n] is the current multiplicity of [x] in [set] ([0] to indicate its absence); the result of [f n] is the new multiplicity of [x]. @raise Invalid_argument if [f n < 0] - @since NEXT_RELEASE *) + @since 0.6 *) val min : t -> elt (** Minimal element w.r.t the total ordering on elements *) diff --git a/core/CCVector.mli b/core/CCVector.mli index 94a312fb..e9362f75 100644 --- a/core/CCVector.mli +++ b/core/CCVector.mli @@ -101,12 +101,12 @@ val pop_exn : ('a, rw) t -> 'a val top : ('a, _) t -> 'a option (** Top element, if present - @since NEXT_RELEASE *) + @since 0.6 *) val top_exn : ('a, _) t -> 'a (** Top element, if present @raise Failure on an empty vector - @since NEXT_RELEASE *) + @since 0.6 *) val copy : ('a,_) t -> ('a,'mut) t (** Shallow copy (may give an immutable or mutable vector) *) diff --git a/misc/mixtbl.mli b/misc/mixtbl.mli index 6e714c64..650c0ab6 100644 --- a/misc/mixtbl.mli +++ b/misc/mixtbl.mli @@ -52,7 +52,7 @@ OUnit.assert_equal None (Mixtbl.get inj_int tbl "a");; OUnit.assert_equal (Some "Bye") (Mixtbl.get inj_string tbl "a");; ]} -@since NEXT_RELEASE *) +@since 0.6 *) type 'a t (** A hash table containing values of different types.