What is wrong with this simple text book REPL?
C:\Users\abc>scala
Welcome to Scala version 2.11.1 (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_45).
Type in expressions to have them evaluated.
Type :help for more information.
scala> print "Hello"
<console>:1: error: ';' expected but string literal found.
print "Hello"
^
scala>
This is supposed to print "Hello"
It does work if you ask nicely:
scala> object please {
| val print = Predef.print _
| }
defined module please
scala> please print "Hello"
Hello
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With