Commit 4e8542f
committed
test(chapter3): improve fetch function examples
Replace commented-out evaluations with proper #guard_msgs tests, add
example using list indexing syntax, and improve formatting.
The changes:
- Format the fetch function pattern match for better alignment
- Replace commented #eval with proper Lean 4 #guard_msgs test
annotations
- Add a second test demonstrating the [2]? indexing syntax as an
alternative to fetch1 parent b9905ee commit 4e8542f
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
522 | | - | |
| 522 | + | |
523 | 523 | | |
524 | 524 | | |
525 | | - | |
526 | | - | |
| 525 | + | |
| 526 | + | |
527 | 527 | | |
528 | | - | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
529 | 533 | | |
530 | 534 | | |
531 | 535 | | |
| |||
0 commit comments