mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2026-01-21 16:56:39 -05:00
fix: remove dep from vec to list
This commit is contained in:
parent
0dafceb708
commit
b3ce398624
1 changed files with 1 additions and 2 deletions
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
(* This file is free software, part of containers. See file "license" for more details. *)
|
||||
|
||||
(** {1 Growable, mutable vector} *)
|
||||
|
|
@ -943,7 +942,7 @@ let to_klist v =
|
|||
in aux 0
|
||||
|
||||
let to_string ?(start="") ?(stop="") ?(sep=", ") item_to_string v =
|
||||
to_list v |> CCList.to_string ~start ~stop ~sep item_to_string
|
||||
start ^ (to_list v |> List.map item_to_string |> String.concat sep) ^ stop
|
||||
|
||||
let pp ?(start="") ?(stop="") ?(sep=", ") pp_item fmt v =
|
||||
Format.pp_print_string fmt start;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue