Commit 8dba04d
Add formal scoping model appendix
This adds the Agda model for describing our rules for extending
temporary scopes (originally by dianne) as a [literate Agda] file
included in the Reference appendix.
To the original Agda formulation, I've added a proof of equivalence
between two models, an introduction, and a reading guide for Rust
users.
This appendix is still is rough shape. This is just a draft. There's
no syntax highlighting yet for the Agda code; we're not yet checking
that the Agda code compiles in CI; the chapter compares stable Rust to
a PR, but we instead need to present the PR behavior as the adopted
behavior; etc. This commit is published just for discussion and
revision.
[literate Agda]: https://agda.readthedocs.io/en/latest/tools/literate-programming.html
Co-authored-by: dianne <diannes.gm@gmail.com>1 parent 59a7bb3 commit 8dba04d
3 files changed
+435
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
0 commit comments