Meaning of "..." in plot(f, extrema(xs)...)

That’s the splat operator.

plot(f, (0, 10)...) == plot(f, 0, 10)

I think of it as “peeling” a collection.

1 Like