Answer architecture round 1: read the module path from go.mod, keep the randomness behind State's methods, rename the field drawState and the counter Seq, and file items 108 and 109

This commit is contained in:
2026-10-05 11:52:10 +02:00
committed by Lillem4n
parent ddc3193593
commit 1d0fe9f555
16 changed files with 78 additions and 52 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ var builtins = withTransforms(map[string]builtin{
key = a[0]
}
return func(s *drawstate.State, _ string, _ []string) string {
return strconv.FormatUint(s.Next(key), 10)
return strconv.FormatUint(s.Seq(key), 10)
}
}, prints: DataTypeInteger, proveNumber: func(token string, prints DataType, _ []string) proven {
return printing(token, prints, bounded(1, math.MaxInt64, true))