Answer prose round 1: the restructure in three named parts, Category.Folders and proven.Facts for one meaning per name, plainer builtinfunc and datafiles comments, and no false iban rationale

This commit is contained in:
2026-10-05 15:59:32 +02:00
committed by Lillem4n
parent 4f484cd780
commit 643efc8650
16 changed files with 79 additions and 84 deletions
+2 -3
View File
@@ -11,9 +11,8 @@ import (
"github.com/larvit/fejkdata/internal/invariant"
)
// checkCalcFields refuses a calc operand a field holds that is never a number, and a division
// by a constant zero. An operand no field holds is left for a name to answer, and
// checkCalcNames checks it once names link.
// checkCalcFields runs checkOperands over the calc operands fields hold. An operand no field
// holds is left for a name, which checkCalcNames checks once names link.
func checkCalcFields(args []string, fields map[string]node) error {
return checkOperands(args[0], builtinfunc.ParsedCalc(args[0]), func(name string) []node {
if n, ok := fields[name]; ok {