mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-08 12:15:32 -05:00
Merge branch 'br-2.8.1'
This commit is contained in:
commit
c1b976d0d3
4 changed files with 12 additions and 2 deletions
|
|
@ -1,5 +1,9 @@
|
|||
# Changelog
|
||||
|
||||
## 2.8.1
|
||||
|
||||
- add missing `CCVector.of_iter`
|
||||
|
||||
## 2.8
|
||||
|
||||
### Breaking:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
opam-version: "2.0"
|
||||
name: "containers"
|
||||
version: "2.8"
|
||||
version: "2.8.1"
|
||||
author: "Simon Cruanes"
|
||||
maintainer: "simon.cruanes.2007@m4x.org"
|
||||
synopsis: "A modular, clean and powerful extension of the OCaml standard library"
|
||||
|
|
|
|||
|
|
@ -266,7 +266,9 @@ val to_gen : 'a t -> 'a gen
|
|||
(** [to_gen as] returns a [gen] of the elements of a slice [as]. *)
|
||||
|
||||
val to_klist : 'a t -> 'a klist
|
||||
(** [to_klist as] returns a [klist] of the elements of a slice [as]. *)
|
||||
(** [to_klist as] returns a [klist] of the elements of a slice [as].
|
||||
@deprecated use {!to_std_seq} *)
|
||||
[@@ocaml.deprecated "use to_std_seq"]
|
||||
|
||||
(** {2 IO} *)
|
||||
|
||||
|
|
|
|||
|
|
@ -307,6 +307,10 @@ val to_array : ('a,_) t -> 'a array
|
|||
val to_list : ('a,_) t -> 'a list
|
||||
(** Return a list with the elements contained in the vector. *)
|
||||
|
||||
val of_iter : ?init:('a,rw) t -> 'a iter -> ('a, rw) t
|
||||
(** Convert an Iterator to a vector.
|
||||
@since 2.8.1 *)
|
||||
|
||||
val of_seq : ?init:('a,rw) t -> 'a sequence -> ('a, rw) t
|
||||
(** Convert an Iterator to a vector.
|
||||
@deprecated use of_iter *)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue