Skip to content

Commit 07bddcd

Browse files
committed
add metaprogram example
1 parent 2a3bfef commit 07bddcd

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

docs/install.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ wget -q https://raw.githubusercontent.com/leanprover-community/mathlib4/master/s
3434

3535
```bash
3636
# 如果网络不行就本地下载再上传
37-
curl -L https://github.com/leanprover/elan/releases/download/v3.1.1/elan-x86_64-unknown-linux-gnu.tar.gz -o elan.tar.gz
37+
curl -L https://github.com/leanprover/elan/releases/download/v4.0.0/elan-x86_64-unknown-linux-gnu.tar.gz -o elan.tar.gz
3838
tar xf elan.tar.gz
3939
```
4040

docs/tutorial/repl.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ echo '{ "cmd": "import Mathlib" }' | lake env /path/to/repl/.lake/build/bin/repl
267267

268268
## 更多示例
269269

270-
最后,附上 REPL 测试代码提供的示例,为展示方便,我们将输出结果拼接到对应的输入行后边
270+
最后,附上 REPL 提供的测试示例,以下内容由模型结合测试代码生成
271271

272272
### 基础示例:检查变量定义
273273

mkdocs.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ nav:
7171
- Lean-zh: index.md
7272
- 安装指南: install.md
7373
- Lean4 工具链: tutorial/elan-lake.md
74-
- Lake 包管理: references/lake-doc.md
74+
- Lake 包管理: references/lake-doc.md
75+
- 项目示例 - 元编程: projects/meta-example.md
7576
- 交互工具:
7677
- LeanDojo 教程: tutorial/lean-dojo.md
7778
- REPL 教程: tutorial/repl.md

0 commit comments

Comments
 (0)