13 #14

Merged
navicore merged 3 commits from chapter13 into main 2026-06-24 18:29:27 +00:00
Owner
No description provided.
13
All checks were successful
CI - Linux / CI - Linux x86_64 (pull_request) Successful in 44s
7f04b2e901
fix nonsense comments about plgc bugs
All checks were successful
CI - Linux / CI - Linux x86_64 (pull_request) Successful in 58s
98fe89253d
All 6 green. Lesson 5 is rewritten and validated against plgc.
All checks were successful
CI - Linux / CI - Linux x86_64 (pull_request) Successful in 44s
57a2d7aa74
What changed:
- budget_left(Budget, Spent, Left) = plus(Spent, Left, Budget) — a budget where any one of the three values can be the unknown (left / spent / budget).
- next_page(Page, Next) = succ(Page, Next) — next page forward, previous page backward.
- Prose now opens by showing the three separate is formulas budget_left would otherwise need, then collapses them into one plus — so the "why not just use is?" doubt gets answered on the page instead of left hanging. The lesson lands as: a relation isn't a weaker is; it's is in every direction at once.

Registry name stayed 05-both-ways, so no info.toml change. The test
exercises both predicates in every direction (the thing an is-based
version couldn't pass).

That addresses the wrapper-makes-it-look-useless problem you flagged —
the builtins now have a concrete job and a visible payoff. Chapter 14
still awaits your explicit go-ahead.
navicore deleted branch chapter13 2026-06-24 18:29:27 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
navicore/loglings!14
No description provided.