mirror of
https://github.com/appgurueu/modlib.git
synced 2024-07-15 12:19:31 +02:00
6 lines
124 B
Lua
6 lines
124 B
Lua
|
function curry(func, ...)
|
||
|
local args = {...}
|
||
|
return function(...)
|
||
|
return func(unpack(args), ...)
|
||
|
end
|
||
|
end
|