Chapter 10 (10-list-library) #9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chapter10"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The arc
Six exercises, each probe-verified, each with a worked example on a different predicate than the task:
generate from one list and test against the other.
explicitly teeing up that append "has a stranger side."
then task starts_with/2 as append(Prefix, _, List). This is the functional-vs-relational "aha" — one definition,
many modes.
is left for the student to reach; the prose only shows plain reversal.
generative length(L, N) runs away (resource_error(steps)), so don't lean on it.
evenness test (ch01) → even_range/3.
Notes
coverage check is satisfied.
flags a literal heading, but the principle is the principle.
chapter.
Coverage matrix now marks 10 ✓. Per the plan, the remaining priority chapters are 11 (meta & term construction),
12 (type-test guards), 13 (arithmetic depth), 14 (atoms & text), 15 (exceptions), 16 (engine boundaries). Ready
when you are.
● Done. Chapter 10 (10-list-library) — 53 exercises, all green.to Chapter 10 (10-list-library) — 53 exercises, all green.Chapter 10 (10-list-library) — 53 exercises, all green.to Chapter 10 (10-list-library)