Type in expressions to have them evaluated. Type :help for more information. scala> val y = 55 y: Int = 55 scala> val x = s""" y = $y """ x: String = " y = 55 " scala> :quit