stevedonovan/Penlight — Issue #21: allow variable arguments in path.join and seq.zip
Author: wackymorningdj
Created: 2012-01-20 03:49:58+00:00
State: open

I'd love to see both of these functions take multiple arguments (as they do in python).

I've replaced the join function in my own code simply enough:

```lua
local __join = path.join

function path.join(...)
local arg, n = {...}, select('#', ...)
local ret = arg[1]
for i=2,n do
ret = __join(ret, arg[i])
end
return ret
end
```