感谢分享:
http://blog.csdn.net/lein_wang/article/details/51689368
http://alvinAlexander.com/scala/scala-repl-how-to-paste-load-blocks-of-source-code
scala> :paste// Entering paste mode (ctrl-D to finish)if (true) PRint("that was true")else print("false")[Ctrl-D]// Exiting paste mode, now interpreting.that was true
新闻热点
疑难解答