File tree Expand file tree Collapse file tree 6 files changed +63
-34
lines changed
Expand file tree Collapse file tree 6 files changed +63
-34
lines changed Original file line number Diff line number Diff line change 11
2+
3+ ## 3.17
4+
5+ - feat: add ` CCAtomic.update_cas `
6+ - feat: add ` Pvec.flat_map `
7+ - faster ` List.take_drop ` thanks to a trick by nojb
8+
9+ - move to ocamlformat 0.27, format code
10+ - test: enrich pvec test
11+ - Patch CBor roundtrip property to hold for nan's too (thanks @jmid )
12+
213## 3.16
314
415
Original file line number Diff line number Diff line change 11# This file is generated by dune, edit dune-project instead
22opam-version: "2.0"
3- version: "3.15 "
3+ version: "3.17 "
44synopsis: "A set of advanced datatypes for containers"
55maintainer: ["c-cube"]
66authors: ["c-cube"]
Original file line number Diff line number Diff line change 11# This file is generated by dune, edit dune-project instead
22opam-version: "2.0"
3- version: "3.15 "
3+ version: "3.17 "
44synopsis:
55 "A modular, clean and powerful extension of the OCaml standard library"
66maintainer: ["c-cube"]
Original file line number Diff line number Diff line change 11(lang dune 3 .0)
2+
23(name containers)
4+
35( generate_opam_files true )
46
5- ( version 3 .15)
7+ ( version 3 .17)
8+
69( authors c-cube)
10+
711( maintainers c-cube)
12+
813( license BSD-2-Clause)
14+
915( homepage " https://github.com/c-cube/ocaml-containers/" )
10- ( source ( github c-cube/ocaml-containers) )
16+
17+ ( source
18+ ( github c-cube/ocaml-containers) )
1119
1220( package
13- (name containers)
14- (synopsis " A modular, clean and powerful extension of the OCaml standard library" )
15- ( tags ( stdlib containers iterators list heap queue) )
16- ( depends
17- ( ocaml ( >= 4 .08) )
18- either
19- dune-configurator
20- ( qcheck-core ( and ( >= 0 .18) :with -test) )
21- ( yojson :with -test)
22- ( iter :with -test)
23- ( gen :with -test)
24- ( csexp :with -test)
25- ( uutf :with -test)
26- ( odoc :with -doc) )
27- ( depopts
28- base-unix
29- base-threads) )
21+ (name containers)
22+ (synopsis
23+ " A modular, clean and powerful extension of the OCaml standard library" )
24+ ( tags
25+ ( stdlib containers iterators list heap queue) )
26+ ( depends
27+ ( ocaml
28+ ( >= 4 .08) )
29+ either
30+ dune-configurator
31+ ( qcheck-core
32+ ( and
33+ ( >= 0 .18)
34+ :with -test) )
35+ ( yojson :with -test)
36+ ( iter :with -test)
37+ ( gen :with -test)
38+ ( csexp :with -test)
39+ ( uutf :with -test)
40+ ( odoc :with -doc) )
41+ ( depopts base-unix base-threads) )
3042
3143( package
32- (name containers-data)
33- (synopsis " A set of advanced datatypes for containers" )
34- ( tags ( containers RAL function vector okasaki) )
35- ( depends
36- ( ocaml ( >= 4 .08) )
37- ( containers ( = :version ) )
38- ( qcheck-core ( and ( >= 0 .18) :with -test) )
39- ( iter :with -test)
40- ( gen :with -test)
41- ( mdx :with -test)
42- ( odoc :with -doc) ) )
44+ (name containers-data)
45+ (synopsis " A set of advanced datatypes for containers" )
46+ ( tags
47+ ( containers RAL function vector okasaki) )
48+ ( depends
49+ ( ocaml
50+ ( >= 4 .08) )
51+ ( containers
52+ ( = :version ) )
53+ ( qcheck-core
54+ ( and
55+ ( >= 0 .18)
56+ :with -test) )
57+ ( iter :with -test)
58+ ( gen :with -test)
59+ ( mdx :with -test)
60+ ( odoc :with -doc) ) )
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ let[@inline never] decr r =
5252 [let res, x = f !atomic in atomic := x; res]
5353 done atomically. [f] might be called multiple times and must be as cheap
5454 as possible.
55- @since NEXT_RELEASE *)
55+ @since 3.17 *)
5656let update_cas (type res ) (self : 'a t ) (f : 'a -> res * 'a ) : res =
5757 let exception Ret of res in
5858 let backoff = ref 1 in
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ val map : ('a -> 'b) -> 'a t -> 'b t
8787val flat_map : ('a -> 'b t ) -> 'a t -> 'b t
8888(* * A basic, fairly slow [flat_map] operation like {!CCList.flat_map}.
8989 It exists for convenience but is not where this data structure shines.
90- @since NEXT_RELEASE *)
90+ @since 3.17 *)
9191
9292val choose : 'a t -> 'a option
9393(* * Return an element. It is unspecified which one is returned. *)
You can’t perform that action at this time.
0 commit comments