69b41eae70
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
12 lines
137 B
Lua
12 lines
137 B
Lua
f = Const("f")
|
|
a = Const("a")
|
|
|
|
S = State()
|
|
T = thread(S, [[
|
|
t = ...
|
|
g = Const("g")
|
|
return g(t)
|
|
]], f(a))
|
|
|
|
r = T:wait()
|
|
print(r)
|