mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
compat
This commit is contained in:
parent
9d35f96033
commit
ae7b1aef48
1 changed files with 3 additions and 3 deletions
|
|
@ -13,7 +13,7 @@ let () =
|
||||||
|
|
||||||
let () =
|
let () =
|
||||||
eq ~name:"l1" ~printer:(spf "%S") "[0; 1; 2; 3;\n 4; 5; 6; 7;\n 8; 9]"
|
eq ~name:"l1" ~printer:(spf "%S") "[0; 1; 2; 3;\n 4; 5; 6; 7;\n 8; 9]"
|
||||||
(let d = Dump.list (List.init 10 int) in
|
(let d = Dump.list (CCList.init 10 int) in
|
||||||
Pretty.to_string ~width:10 d)
|
Pretty.to_string ~width:10 d)
|
||||||
|
|
||||||
let () =
|
let () =
|
||||||
|
|
@ -32,8 +32,8 @@ let () =
|
||||||
\ 9; 10]]"
|
\ 9; 10]]"
|
||||||
(let d =
|
(let d =
|
||||||
Dump.list
|
Dump.list
|
||||||
(List.init 6 (fun i ->
|
(CCList.init 6 (fun i ->
|
||||||
Dump.list (List.init 6 (fun j -> int @@ (i + j)))))
|
Dump.list (CCList.init 6 (fun j -> int @@ (i + j)))))
|
||||||
in
|
in
|
||||||
Pretty.to_string ~width:10 d)
|
Pretty.to_string ~width:10 d)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue