mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
prepare for 3.16
This commit is contained in:
parent
f934db1e9c
commit
99dba20fa6
3 changed files with 15 additions and 4 deletions
15
CHANGELOG.md
15
CHANGELOG.md
|
|
@ -1,6 +1,17 @@
|
||||||
# Changelog
|
|
||||||
|
|
||||||
## main
|
## 3.16
|
||||||
|
|
||||||
|
|
||||||
|
- breaking: Renamed predicate parameter of `take_while`, `rtake_while` from `p` to `f`, aligining it with pre-existing `drop_while`.
|
||||||
|
|
||||||
|
- feat: add `containers.leb128` library
|
||||||
|
- feat: add `CCFun.with_return`
|
||||||
|
- Added functions to the `Char` module to check common character properties.
|
||||||
|
- feat: add `CCVector.findi`
|
||||||
|
|
||||||
|
|
||||||
|
- fix: compat with OCaml 5.4
|
||||||
|
- fix: oob(!!) in CCHash.bytes
|
||||||
|
|
||||||
## 3.15
|
## 3.15
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -92,7 +92,7 @@ let find_array arr x =
|
||||||
-1
|
-1
|
||||||
]}
|
]}
|
||||||
|
|
||||||
@since NEXT_RELEASE *)
|
@since 3.15 *)
|
||||||
|
|
||||||
(** {2 Infix}
|
(** {2 Infix}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -222,7 +222,7 @@ val find : ('a -> bool) -> ('a, _) t -> 'a option
|
||||||
|
|
||||||
val findi : ('a -> bool) -> ('a, _) t -> (int * 'a) option
|
val findi : ('a -> bool) -> ('a, _) t -> (int * 'a) option
|
||||||
(** Find an element and its index that satisfies the predicate.
|
(** Find an element and its index that satisfies the predicate.
|
||||||
@since NEXT_RELEASE *)
|
@since 3.15 *)
|
||||||
|
|
||||||
val find_exn : ('a -> bool) -> ('a, _) t -> 'a
|
val find_exn : ('a -> bool) -> ('a, _) t -> 'a
|
||||||
(** Find an element that satisfies the predicate, or
|
(** Find an element that satisfies the predicate, or
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue