mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-26 09:13:53 +01:00
Rename func.call to func.args to fix name collision
This commit is contained in:
parent
56ad946ec0
commit
7f05c5d07e
2
func.lua
2
func.lua
@ -17,7 +17,7 @@ function curry_tail(func, ...)
|
||||
return function(...) return func(unpack(modlib.table.concat({...}, args))) end
|
||||
end
|
||||
|
||||
function call(...)
|
||||
function args(...)
|
||||
local args = { ... }
|
||||
return function(func) return func(unpack(args)) end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user