erg/doc/JA/tools/repl.md
Shunsuke Shibayama 96132b20f6 initial commit
2022-08-10 23:02:27 +09:00

13 lines
370 B
Markdown

# REPL
`erg`コマンドを引数を与えず実行すると、REPLが起動されます。また、`repl`サブコマンドを指定して起動することもできます。
さらに以下のフラグを指定できます。
* typed: オブジェクトとその型を表示します。
```console
>>> 1
1: {1}
>>> id x = x
id = <function id>: |T: Type| T -> T
```