Y
Hacker News
new
|
ask
|
show
|
jobs
by
zem
1034 days ago
that's what the splat operator is for - it unpacks a list into separate arguments. in this case e.g.
xs = (1, 2, 3) f(*xs)
is equivalent to f(1, 2, 3), not f((1, 2, 3))
1 comments
uxp8u61q
1033 days ago
And
that's
readable?
link