1 2 3 4 5 6 7 8 9 10
Type in expressions to have them evaluated. Type :help for more information. scala> case class X(s: String) defined class X scala> scala.reflect.runtime.universe.typeOf[X] res0: reflect.runtime.universe.Type = X scala> :quit