groovy Closures Closure with explicit parameters


Example

def addNumbers = { a, b -> a + b }
addNumbers(-7, 15) // returns 8