Groovy's Closure have a name of method 'curry'.
But this is not work for a real currying, it work as a partial function application.
So, I wrote method of 'Real currying'.
(It's also published on gist https://gist.github.com/1193548)
I hope this will be adopted to Groovy core.
|Field||Original Value||New Value|
|Fix Version/s||2.0 [ 13489 ]|
|Component/s||syntax [ 11337 ]|
|Priority||Minor [ 4 ]||Major [ 3 ]|
|Component/s||groovy-jdk [ 10750 ]|
|Issue Type||Wish [ 5 ]||Bug [ 1 ]|
|Issue Type||Bug [ 1 ]||New Feature [ 2 ]|
|Project Import||Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]|
|Workflow||jira [ 12733924 ]||Default workflow, editable Closed status [ 12745744 ]|
|Project Import||Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]|
|Workflow||jira [ 12972639 ]||Default workflow, editable Closed status [ 12980479 ]|