Type in expressions to have them evaluated. Type :help for more information. scala> val 1 = 2 scala.MatchError: 2 (of class java.lang.Integer) scala> val List(1) = List(1) scala> :quit