mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05: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
|
||||
|
||||
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)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue