Answer architecture round 2: guard Noun's range, name calc once as builtinfunc.Calc, and place readTableOptions in item 46

This commit is contained in:
2026-10-05 15:48:34 +02:00
committed by Lillem4n
parent a229ae90a2
commit 679bd43c7c
7 changed files with 15 additions and 6 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ func (p *valueProof) proveTemplate(t *template) proven.Value {
leaves = append(leaves, a.leaves...)
}
return p.proveUnion(leaves)
case name == "calc":
case name == builtinfunc.Calc:
return p.proveCalc(o)
case builtinfunc.IsTransform(name):
return proven.Unproven(fmt.Sprintf("{%s} rewrites text rather than printing a value; write the values it would print", body))