Type in expressions to have them evaluated. Type :help for more information. scala> def f(x: => Int): Int = x f: (x: => Int)Int scala> f _ res0: (=> Int) => Int = scala> :quit