luau/prototyping/Examples/SmokeTest.lua
ajeffrey@roblox.com 2c31f32b64 Redo smoketest
2022-02-09 16:08:51 -06:00

13 lines
206 B
Lua

local function id(x)
return x
end
local function comp(f)
return function(g)
return function(x)
return f(g(x))
end
end
end
local id2 = comp(id)(id)
local nil2 = id2(nil)
return id2(nil2)