diff --git a/LeanByExample/Reference/Diagnostic/Version.lean b/LeanByExample/Reference/Diagnostic/Version.lean new file mode 100644 index 0000000..ecb363d --- /dev/null +++ b/LeanByExample/Reference/Diagnostic/Version.lean @@ -0,0 +1,6 @@ +/- # \#version + +`#version` コマンドは、その環境での Lean のバージョンと OS の情報を表示します。 +-/ + +#version diff --git a/booksrc/SUMMARY.md b/booksrc/SUMMARY.md index 2efcde6..e566d3f 100644 --- a/booksrc/SUMMARY.md +++ b/booksrc/SUMMARY.md @@ -21,6 +21,7 @@ - [#reduce: 式を簡約する](./Reference/Diagnostic/Reduce.md) - [#synth: 型クラスの検査](./Reference/Diagnostic/Synth.md) - [#time: 実行時間計測](./Reference/Diagnostic/Time.md) + - [#version: バージョン表示](./Reference/Diagnostic/Version.md) - [#whnf: 式を弱頭正規形に](./Reference/Diagnostic/Whnf.md) - [宣言的コマンド](./Reference/Declarative/README.md)