Given following groovy function:
def foo(List params, Closure c) {...}
The method call would be:
foo([\'a\', \'b
There's always Poor Man's Varargs™
def foo(String p1, Closure c) {foo [p1], c}
def foo(String p1, String p2, Closure c) {foo [p1, p2], c}
def foo(String p1, String p2, String p3, Closure c) {foo [p1, p2, p3], c}
def foo(String p1, String p2, String p3, String p4, Closure c) {foo [p1, p2, p3, p4], c}
...
I'm only half joking.