aboutsummaryrefslogtreecommitdiffstats
path: root/tests/oracle/faults.pure
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-28 05:01:23 +0100
committereunhhu <[email protected]>2026-09-28 05:01:23 +0100
commit2ed0e467398cc73cedb9516efc7655c9a74cbde5 (patch)
tree891b09ac45dbd2f6b515315cf3324cb90a20a503 /tests/oracle/faults.pure
parentf0224870063d471efd540603ca2b4528b4bf499a (diff)
downloadaup-2ed0e467398cc73cedb9516efc7655c9a74cbde5.tar.gz
aup-2ed0e467398cc73cedb9516efc7655c9a74cbde5.zip
Name a number or an index with let
let name = value, in a handler, names a number or an index for the rest of its block; name = value gives it a new value of the same kind; the walks and folds inside read it. It compiles to Pure's locals (a slot an event, 0 when it begins, never saved), a slot a let in a handler, so an order's loop sums into a let and takes stock through an index let without finding the item again. A let may not be a declared name, another let in scope or the walked item, and holds no text. Nine diagnostics and an app of lets are checked.
Diffstat (limited to 'tests/oracle/faults.pure')
0 files changed, 0 insertions, 0 deletions