aboutsummaryrefslogtreecommitdiffstats
path: root/tests/oracle/steps.pure
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-26 16:38:33 +0100
committereunhhu <[email protected]>2026-09-26 16:38:33 +0100
commite90d494d718762d402871c9194ab036088dd9e0c (patch)
tree6f4c38c7442d2b1ea1f02019364fe59dea1e90e1 /tests/oracle/steps.pure
parentcb0f7878f11025ea31cd4c5cecb5ae359b14c148 (diff)
downloadaup-e90d494d718762d402871c9194ab036088dd9e0c.tar.gz
aup-e90d494d718762d402871c9194ab036088dd9e0c.zip
Add keyed lists and text comparison
state xs: list of R by field keeps its items in that field's order, each key once: xs.add(R { ... }) places an item (a taken key fails the event with exists), xs[key] finds one by halving (its field, or its index), xs.has(key) asks, xs.remove(key) removes. append and insert are refused on a keyed list, add on another, and a key field is never assigned. Texts compare with == != < <= > >= by their bytes. Checked against a Python model over 3,600 random steps with a text-keyed and a number-keyed list; 13 diagnostics; examples/tally.aup.
Diffstat (limited to 'tests/oracle/steps.pure')
0 files changed, 0 insertions, 0 deletions