Drop the stale kind count from the builtins registry comment
Tests / vet + fmt + tests (pull_request) Successful in 25s
Tests / vet + fmt + tests (push) Successful in 6s

This commit was merged in pull request #2.
This commit is contained in:
2026-09-01 21:45:45 +02:00
parent 5d33f4c0f0
commit 5576a9e05e
+3 -3
View File
@@ -16,9 +16,9 @@ const (
maxDecimals = 1024 maxDecimals = 1024
) )
// builtins is the registry of {name(args)} functions. Two kinds: derivations read // builtins is the registry of {name(args)} functions. Derivations read the
// the digits emitted so far in the current expansion (luhn, mod11, ean — place // digits emitted so far in the current expansion (luhn, mod11, ean — place them
// them after their payload); samples read only the rng (uuid, ulid, ...). All // after their payload); samples read only the rng (uuid, ulid, ...). All
// must stay pure over (rng, emitted, args) so seeded output is reproducible — a // must stay pure over (rng, emitted, args) so seeded output is reproducible — a
// time-based id (uuid v7, ulid) draws its timestamp from the rng, not the wall // time-based id (uuid v7, ulid) draws its timestamp from the rng, not the wall
// clock. Add a builtin only for what data can't express: a random v4 UUID and a // clock. Add a builtin only for what data can't express: a random v4 UUID and a