lean2/tests/lua/expr4.lua
Leonardo de Moura cb000eda13 refactor(kernel): store binder_infor in local constants
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-06-30 11:37:46 -07:00

8 lines
269 B
Lua

local vec = Const("vec")
local a = Local("a", Type)
local b = Local("b", vec(a), binder_info(true))
local f = Const("f")
print(Pi(a, b, vec(b)))
local a = Local("a", Type, binder_info(true, true))
local b = Local("b", vec(a), binder_info(true))
print(Pi(a, b, vec(b)))