From c891b287c1abbd715202bc1c326fce7095d34664 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Sat, 30 Oct 2021 19:06:17 -0400 Subject: Missing semicolons in case header example --- doc/block.md | 6 +++--- docs/doc/block.html | 6 +++--- 2 files changed, 6 insertions(+), 6 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" } diff --git a/docs/doc/block.html b/docs/doc/block.html index a1446e75..491fd87d 100644 --- a/docs/doc/block.html +++ b/docs/doc/block.html @@ -206,9 +206,9 @@ ERROR

Case headers

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"
 }
 
-- cgit v1.2.3