groovy

Curry method fails when using it in a chain with IllegalArgumentException