aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-27 07:54:35 +0100
committereunhhu <[email protected]>2026-09-27 07:54:35 +0100
commit6d219cbfb8f88aa51ce785ff78c5250d806b67c9 (patch)
treeda3c24044b0374a5cf1285a03fb10b7360b0a3d8 /examples
parent1a72fe031a007323c51f49810dcf6164b8aaaae2 (diff)
downloadaup-6d219cbfb8f88aa51ce785ff78c5250d806b67c9.tar.gz
aup-6d219cbfb8f88aa51ce785ff78c5250d806b67c9.zip
Declare outputs and send them: output ordered = message { ... }
An output is a message the app sends, with fields and groups as a message has; send ordered { item: x, to: { city: y } } gives every field once, in any order, groups in their own braces, and compiles to Pure's SEND. Diagnostics cover a missing field, a group given a value, an unknown field, a mistyped value, a send to a message, a handler for an output, a field given twice and reading an output as a state; kinds in messages now carry their article (an output, a key input).
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions