lean2/tests/lua/sexpr3.lua

7 lines
126 B
Lua
Raw Normal View History

l = sexpr(1, 2, 3)
print(l)
assert(is_sexpr(l))
assert(is_sexpr(sexpr(10)))
assert(not is_sexpr(10))
assert(not is_sexpr({}))