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

This commit is contained in:
Lars Mueller 2021-07-03 11:52:27 +02:00
parent 56ad946ec0
commit 7f05c5d07e

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