mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2026-03-08 06:37:59 -04:00
comment
This commit is contained in:
parent
91a2ecee4a
commit
94640e9efe
1 changed files with 3 additions and 1 deletions
|
|
@ -287,7 +287,9 @@ module Pretty = struct
|
||||||
Buffer.contents buf
|
Buffer.contents buf
|
||||||
|
|
||||||
let to_format ~width out self : unit =
|
let to_format ~width out self : unit =
|
||||||
(* TODO: more efficient implementation based on out *)
|
(* TODO: more efficient implementation based on:
|
||||||
|
open a vbox; make custom out that directly emit Format.pp_foo calls;
|
||||||
|
render to this out. *)
|
||||||
CCFormat.string_lines out (to_string ~width self)
|
CCFormat.string_lines out (to_string ~width self)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue