lean2/tests/lua/env3.lua
Leonardo de Moura be093ecf90 feat(lua): use formatter available in the state object to convert Lean objects into strings in the Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-11-12 16:56:30 -08:00

4 lines
85 B
Lua

env = environment()
env:add_var("N", Type())
env:add_var("x", Const("N"))
print(env)