This commit is contained in:
Simon Cruanes 2023-04-01 00:31:18 -04:00
parent 9d35f96033
commit ae7b1aef48
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -13,7 +13,7 @@ let () =
let () =
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)
let () =
@ -32,8 +32,8 @@ let () =
\ 9; 10]]"
(let d =
Dump.list
(List.init 6 (fun i ->
Dump.list (List.init 6 (fun j -> int @@ (i + j)))))
(CCList.init 6 (fun i ->
Dump.list (CCList.init 6 (fun j -> int @@ (i + j)))))
in
Pretty.to_string ~width:10 d)