mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-05 19:00:31 -05:00
prepare for 3.11
This commit is contained in:
parent
d249ce5f13
commit
161c192bff
6 changed files with 16 additions and 6 deletions
10
CHANGELOG.md
10
CHANGELOG.md
|
|
@ -1,5 +1,15 @@
|
|||
# Changelog
|
||||
|
||||
## 3.11
|
||||
|
||||
- official OCaml 5 support
|
||||
- add `CCFun.(let@)` (if OCaml >= 4.08)
|
||||
- add `CCHet.Tbl.{clear,reset}`
|
||||
|
||||
- fix(CCVector): concurrent modification safety in `resize_with`
|
||||
- fix(CCVector): always obtain a copy of array before using unsafe_{set,get}
|
||||
- CI: add ocaml 5.0.x
|
||||
|
||||
## 3.10
|
||||
|
||||
- `CCArray`: add `mapi_inplace`
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
opam-version: "2.0"
|
||||
version: "3.10"
|
||||
version: "3.11"
|
||||
author: "Simon Cruanes"
|
||||
maintainer: "simon.cruanes.2007@m4x.org"
|
||||
synopsis: "A set of advanced datatypes for containers"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
opam-version: "2.0"
|
||||
version: "3.10"
|
||||
version: "3.11"
|
||||
author: "Simon Cruanes"
|
||||
maintainer: "simon.cruanes.2007@m4x.org"
|
||||
license: "BSD-2-Clause"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
opam-version: "2.0"
|
||||
name: "containers"
|
||||
version: "3.10"
|
||||
version: "3.11"
|
||||
author: "Simon Cruanes"
|
||||
maintainer: "simon.cruanes.2007@m4x.org"
|
||||
license: "BSD-2-Clause"
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ module Infix : sig
|
|||
val ( let@ ) : ('a -> 'b) -> 'a -> 'b
|
||||
(** [let@ x = foo in bar] is the equivalent of [foo @@ fun x -> bar].
|
||||
It can be very useful for resource management, alongside with {!protect}.
|
||||
@since NEXT_RELEASE *)
|
||||
@since 3.11 *)
|
||||
|
||||
[@@@endif]
|
||||
end
|
||||
|
|
|
|||
|
|
@ -40,11 +40,11 @@ module Tbl : sig
|
|||
|
||||
val clear : t -> unit
|
||||
(** clear the table (like {!Hashtbl.clear})
|
||||
@since NEXT_RELEASE *)
|
||||
@since 3.11 *)
|
||||
|
||||
val reset : t -> unit
|
||||
(** reset the table (like {!Hashtbl.reset})
|
||||
@since NEXT_RELEASE *)
|
||||
@since 3.11 *)
|
||||
|
||||
val find_exn : t -> 'a Key.t -> 'a
|
||||
(** @raise Not_found if the key is not in the table. *)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue