스칼라 쉘에서 멀티라인을 입력하려면 다음과 같이 하면 된다.

  1. :paste 입력 (:p도 가능)
  2. 멀티라인 입력
  3. Ctrl + D 로 입력 종료


참고링크: http://alvinalexander.com/scala/how-to-enter-paste-multiline-commands-statements-into-scala-repl


+ Recent posts