lean4-htt/old_tests/tests/lean/format_to_buffer.lean
2018-04-10 12:56:55 -07:00

9 lines
200 B
Text

import system.io
import data.buffer
meta def main : tactic unit := do
opts ← tactic.get_options,
let buf := format.to_buffer (format.of_string "foobar") opts,
tactic.trace (repr buf)
run_cmd main