我可以在Scala REPL中停止执行无限循环吗?键入此并尝试在不退出REPL的情况下停止它.
while(true){}
我认为像Ctrl-C这样的东西会起作用.
scala read-eval-print-loop
read-eval-print-loop ×1
scala ×1