File tree Expand file tree Collapse file tree 5 files changed +11
-4
lines changed Expand file tree Collapse file tree 5 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1
1
= Changelog
2
2
3
+ == 0.22
4
+
5
+ - threads/CCLock: add `try_with_lock` to wrap `Mutex.try_lock`
6
+ - Add `CCMultiSet.remove_all`
7
+ - document errors in `CCIO` (close #86)
8
+ - use the new qtest/qcheck
9
+
3
10
== 0.21
4
11
5
12
- (breaking) make default `start`/`stop` arguments empty in printers (#82)
Original file line number Diff line number Diff line change 1
1
OASISFormat: 0.4
2
2
Name: containers
3
- Version: 0.21
3
+ Version: 0.22
4
4
Homepage: https://github.com/c-cube/ocaml-containers
5
5
Authors: Simon Cruanes
6
6
License: BSD-2-clause
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ module type S = sig
35
35
36
36
val remove_all : t -> elt -> t
37
37
(* * [remove_all set x] removes all occurrences of [x] from [set]
38
- @since NEXT_RELEASE *)
38
+ @since 0.22 *)
39
39
40
40
val update : t -> elt -> (int -> int ) -> t
41
41
(* * [update set x f] calls [f n] where [n] is the current multiplicity
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ module type S = sig
35
35
36
36
val remove_all : t -> elt -> t
37
37
(* * [remove_all set x] removes all occurrences of [x] from [set]
38
- @since NEXT_RELEASE *)
38
+ @since 0.22 *)
39
39
40
40
val update : t -> elt -> (int -> int ) -> t
41
41
(* * [update set x f] calls [f n] where [n] is the current multiplicity
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ val try_with_lock : 'a t -> ('a -> 'b) -> 'b option
22
22
(* * [try_with_lock l f] runs [f x] in a critical section if [l] is not
23
23
locked. [x] is the value protected by the lock [l]. If [f x]
24
24
fails, [try_with_lock l f] fails too but the lock is released
25
- @since NEXT_RELEASE *)
25
+ @since 0.22 *)
26
26
27
27
(* * Type allowing to manipulate the lock as a reference
28
28
@since 0.13 *)
You can’t perform that action at this time.
0 commit comments