scala> def h()(i: Int) = 1 + i h: ()(i: Int)Int scala> println(h()(5)) 6 scala> val f = h() _ f: Int => Int = scala> println(f(10)) 11 scala> :quit