lean4-htt/tests/lean/format_to_buffer.lean
2017-05-09 16:02:41 -07:00

9 lines
193 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 buf
run_cmd main