aboutsummaryrefslogtreecommitdiff
path: root/doc/block.md
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-10-30 19:06:17 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-10-30 19:06:17 -0400
commitc891b287c1abbd715202bc1c326fce7095d34664 (patch)
treed2006d5bf0f5e197a25c1a8d964c55c4e9294e59 /doc/block.md
parent98bdb451ab71a4afe11ab9f1c74b7e390300d6fa (diff)
Missing semicolons in case header example
Diffstat (limited to 'doc/block.md')
-rw-r--r--doc/block.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/block.md b/doc/block.md
index 63aa6545..50bbb154 100644
--- a/doc/block.md
+++ b/doc/block.md
@@ -180,9 +180,9 @@ If no header is compatible, the call results in an error.
A special rule allows for convenient case-matching syntax for one-argument functions. In any function header with one argument, the function name can be omitted as long as the argument is *not* a plain identifier—it must be `𝕩` or a compound value like a list to distinguish it from an immediate block label.
Test ← {
- "abc": "string"
- ⟨2,b⟩: ⌽𝕩
- 5: "number"
+ "abc": "string" ;
+ ⟨2,b⟩: ⌽𝕩 ;
+ 5: "number" ;
𝕩: "default"
}