Fix func.curry_tail

This commit is contained in:
Lars Mueller 2021-04-01 12:48:06 +02:00
parent bc6cd004ae
commit 4e350213a8

@ -7,7 +7,7 @@ end
function curry_tail(func, ...)
local args = { ... }
return function(...) return func(..., unpack(args)) end
return function(...) return func(unpack(modlib.table.concat({...}, args))) end
end
function call(...)