mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-16 23:56:43 -05:00
add CCArrayLabels.to_string
This commit is contained in:
parent
55d72263d1
commit
10c0576d91
1 changed files with 5 additions and 0 deletions
|
|
@ -245,6 +245,11 @@ val random_choose : 'a t -> 'a random_gen
|
|||
(** [random_choose a rs] randomly chooses an element of [a].
|
||||
@raise Not_found if the array/slice is empty. *)
|
||||
|
||||
val to_string : ?sep:string -> ('a -> string) -> 'a array -> string
|
||||
(** [to_string ~sep item_to_string a] print [a] to a string using [sep] as a separator
|
||||
between elements of [a].
|
||||
@since NEXT_RELEASE *)
|
||||
|
||||
val to_seq : 'a t -> 'a sequence
|
||||
(** [to_seq a] returns a [sequence] of the elements of an array [a].
|
||||
The input array [a] is shared with the sequence and modification of it will result
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue