summaryrefslogblamecommitdiff
path: root/test/files/run/t5535.check
blob: a0c87a47f43f51330b582afeacbea679a53fb15f (plain) (tree)
1
2
3


                                           












                              
Type in expressions to have them evaluated.
Type :help for more information.

scala> def h()(i: Int) = 1 + i
h: ()(i: Int)Int

scala> println(h()(5))
6

scala> val f = h() _
f: Int => Int = <function1>

scala> println(f(10))
11

scala>