def f( | |
a | |
// comment for this formal parameter | |
, b) | |
{ | |
[ a + b | |
// comment for this formula | |
, a * b | |
, a / b | |
].collect { it * 2 } | |
} | |
f( | |
1 | |
// comment for this actual parameter | |
, 2 | |
// comment in non-first column | |
, 3 | |
) | |
----- | |
def f( | |
a | |
// comment for this formal parameter | |
, b) { | |
[a + b | |
// comment for this formula | |
, a * b | |
, a / b | |
].collect { it * 2 } | |
} | |
f( | |
1 | |
// comment for this actual parameter | |
, 2 | |
// comment in non-first column | |
, 3 | |
) |