Skip to content

Instantly share code, notes, and snippets.

@paladin8
Created March 31, 2013 22:14
scala> SomeConstant + 1
res0: Int = 43
scala> (new Foo).hi
Hello, World!
scala> $intp.interpret("val x = SomeConstant * 2")
x: Int = 84
res2: scala.tools.nsc.interpreter.IR.Result = Success
scala> x
res3: Int = 84
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment