Rename func.call to func.args to fix name collision

master
Lars Mueller 2021-07-03 11:52:27 +02:00
parent 56ad946ec0
commit 7f05c5d07e
1 changed files with 1 additions and 1 deletions

View File

@ -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