Make great documentation goal 1.2, and plan the README's reorganisation and the nested-template gaps #33

Open
lilleman wants to merge 966 commits from worktree-todo-relative-dates-exact-counts into main
2 changed files with 9 additions and 3 deletions
Showing only changes of commit c304dae303 - Show all commits
+9 -1
View File
@@ -198,7 +198,15 @@ func disagreement(a *template, da DataType, b *template, db DataType) error {
d.fix, d.other, d.want = b, a, da d.fix, d.other, d.want = b, a, da
} }
proven := (&valueProof{}).proveColumnItem(d.fix).not[d.want] == "" proven := (&valueProof{}).proveColumnItem(d.fix).not[d.want] == ""
return disagreements[disagreementKey{kindOf(d.fix), kindOf(d.other), proven}](d) return disagreementFix(disagreementKey{kindOf(d.fix), kindOf(d.other), proven})(d)
}
func disagreementFix(k disagreementKey) func(d itemPair) error {
fix, ok := disagreements[k]
if !ok {
panic(internalError("no disagreement names the fix for %+v", k))
}
return fix
} }
func holdOne(d itemPair) error { func holdOne(d itemPair) error {
-2
View File
@@ -26,8 +26,6 @@ least modify.
This round, in order: This round, in order:
- Test that `disagreements` holds every key `disagreement` can build, and panic through
`internalError` on a miss: a missing key is a nil func call today.
- Name `printedNumber`'s `dp` cases, and say on `builtin` what `prints` and - Name `printedNumber`'s `dp` cases, and say on `builtin` what `prints` and
`proveNumber` a new builtin sets: the extender copied `digits` by analogy. `proveNumber` a new builtin sets: the extender copied `digits` by analogy.
- Rename the names that mislead: `table.pinnedRow` is the row node, not a pinned row; - Rename the names that mislead: `table.pinnedRow` is the row node, not a pinned row;