Given a function that takes a variable number of arguments, e.g.
def foo(os: String*) = println(os.toList)
How can I pass a sequence of a
foo(args:_*) does the trick. Instead of applying the sequence as one single argument, each element in the sequence will be used as an argument.
foo(args:_*)