I\'m completely new to Scala, and I\'ve been working my way through Programming Scala (O\'Reilly) online; while doing so, I was surprised by the result of the
Simple solution, add this to the end of shapes-actor-script.scala:
Thread.sleep(1000)
It'll give the actor time to print all the various Shape messages before the REPL terminates.