groovy Currying Currying closure with no explicit parameter


Example

  def noParam = { 
      "I have $it"
  }

  def noParamCurry = noParam.curry(2)
  assert noParamCurry() == 'I have 2'