lean4-htt/doc/examples
Joachim Breitner 7d60d8b563
feat: safer #eval, and #eval! (#4810)
previously, `#eval` would happily evaluate expressions that contain
`sorry`, either explicitly or because of failing tactics. In conjunction
with operations like array access this can lead to the lean process
crashing, which isn't particularly great.

So how `#eval` will refuse to run code that (transitively) depends on
the `sorry` axiom (using the same code as `#print axioms`).

If the user really wants to run it, they can use `#eval!`.

Closes #1697
2024-07-23 15:26:56 +00:00
..
Certora2022 feat: improve @[deprecated] attr (#3968) 2024-04-23 17:00:32 +00:00
compiler feat: support Lake for building Lean core oleans (#3886) 2024-06-13 16:18:24 +00:00
ICERM2022 feat: improve @[deprecated] attr (#3968) 2024-04-23 17:00:32 +00:00
NFM2022 feat: improve @[deprecated] attr (#3968) 2024-04-23 17:00:32 +00:00
bintree.lean chore: bool and prop lemmas for Mathlib compatibility and improved confluence (#3508) 2024-03-04 23:56:30 +00:00
bintree.lean.md doc: embed examples into doc book 2022-04-06 09:06:49 -07:00
deBruijn.lean chore: fix more typos in comments 2023-10-08 14:37:34 -07:00
deBruijn.lean.md doc: embed examples into doc book 2022-04-06 09:06:49 -07:00
interp.lean feat: safer #eval, and #eval! (#4810) 2024-07-23 15:26:56 +00:00
interp.lean.md doc: embed examples into doc book 2022-04-06 09:06:49 -07:00
palindromes.lean feat: per-function termination hints 2024-01-10 17:27:35 +01:00
palindromes.lean.md doc: embed examples into doc book 2022-04-06 09:06:49 -07:00
phoas.lean chore: fix more typos in comments 2023-10-08 14:37:34 -07:00
phoas.lean.md doc: embed examples into doc book 2022-04-06 09:06:49 -07:00
tc.lean chore: fix more typos in comments 2023-10-08 14:37:34 -07:00
tc.lean.md doc: embed examples into doc book 2022-04-06 09:06:49 -07:00
test_single.sh feat: incremental elaboration of definition headers, bodies, and tactics (#3940) 2024-05-22 13:23:30 +00:00
widgets.lean feat: bundle of widget improvements (#2964) 2023-12-21 06:24:33 +00:00
widgets.lean.md chore: move tutorial to examples folder 2022-08-06 11:54:44 -07:00