3 ms·
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),
by zem 3y 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))
- uxp8u61q 3y agoAnd that's readable?