lean4-htt/tests/lean/format_to_buffer.lean
2017-06-18 18:33:38 -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