3
斯卡拉REPL,人們可以通過:help
Scala REPL:在哪裏可以找到關於特定命令的文檔?
scala> :help
All commands can be abbreviated, e.g., :he instead of :help.
...
:help [command] print this summary or command-specific help
...
...
:reset [options] reset the repl to its initial state, forgetting all session entries
...
例如顯示可用的命令,我在哪裏可以找到:reset
命令[options]
? 我試圖:help reset
這給
的REPL重置爲初始狀態,忘記所有的會話表項
是相同:help
所示的,不那麼有用
我使用Scala版本2.11.7
你檢查http://docs.scala-lang.org/scala/2.11#repl? –
@SudhirSingh正如該網頁所說,它的概述 – user2829759