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 6 additions and 5 deletions
Showing only changes of commit 4d35ead2a4 - Show all commits
+3 -2
View File
@@ -16,10 +16,11 @@ import (
const (
maxLen = 1 << 20
maxDecimals = 1024
// shortestDecimals prints the fewest digits that read back as the same float64.
shortestDecimals = -1
)
// shortestDecimals prints the fewest digits that read back as the same float64.
const shortestDecimals = -1
// builtins is the registry of {name(args)} functions. Derivations read the digits
// emitted so far in the current expansion (place them after their payload);
// samples read only the rng. A time-based id (uuid v7, ulid) draws its timestamp
+3 -3
View File
@@ -129,9 +129,9 @@ type builtin struct {
// datatypes that text is not; set it where every render reads as a finite number, which
// makes the call a calc operand, and leave it nil otherwise.
proveNumber func(token string, prints DataType, args []string) proven
// prints is the datatype every render's text is, which a typed column holds the call to:
// DataTypeString where it reads as a number but no column should type it, as digits'
// leading zeros; unset where proveNumber is nil.
// prints is the datatype a call's text is, handed to proveNumber: DataTypeString where it
// reads as a number no column should type, as digits' leading zeros; unset where
// proveNumber is nil.
prints DataType
}