aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/t5535.check
blob: 84097ccea900c1e691209806a00ded5992c6ed53 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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> :quit