From 9cfc45f731a121282f47218d6ab80c5b9b06e277 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Fri, 28 Jan 2022 20:56:46 -0500 Subject: Add ;:? to keybar and help --- docs/help/nextbody.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 docs/help/nextbody.html (limited to 'docs/help/nextbody.html') diff --git a/docs/help/nextbody.html b/docs/help/nextbody.html new file mode 100644 index 00000000..f180ec55 --- /dev/null +++ b/docs/help/nextbody.html @@ -0,0 +1,21 @@ + + + + BQN: Semicolon (;) + + +

Semicolon (;)

+

;: Next Body

+

→full documentation

+

End the current block body and start a new one. Headers (:) and predicates (?) can control which body is evaluated. A function can have two headers without these, indicating the monadic and dyadic cases.

+↗️
    3 { 𝕩÷2 ; -𝕨𝕩 } 4   # Monadic and dyadic cases
+⟨ ¯3 ¯4 ⟩
+
+    F  {𝕊ab: a-b; 𝕊abc: b+c}
+
+    F 52                # Matches first header
+3
+
+    F 136              # Matches second header
+9
+
-- cgit v1.2.3