mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-05 19:30:54 +01:00
12 lines
183 B
Lua
12 lines
183 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 = id(id)
|
|
local nil2 = id2(nil)
|