diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-01-28 20:56:46 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-01-28 21:02:27 -0500 |
| commit | 9cfc45f731a121282f47218d6ab80c5b9b06e277 (patch) | |
| tree | e5934a40c9c3e94651d767472369bfa7a38113f3 /help/header.md | |
| parent | 0c716e4c6b7c2c44bbfd02b6503cae66af7b7480 (diff) | |
Add ;:? to keybar and help
Diffstat (limited to 'help/header.md')
| -rw-r--r-- | help/header.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/help/header.md b/help/header.md new file mode 100644 index 00000000..c881943a --- /dev/null +++ b/help/header.md @@ -0,0 +1,20 @@ +*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/header.html).* + +# Colon (`:`) + +## `:`: Header +[โfull documentation](../doc/block.md#block-headers) + +Placed at the end of a block header. A header has syntax that matches the way the block is called. It indicates the block type, and number and structure of inputs. + + "xy" {aโฟb _op c: b} โ + +Multiple bodies are searched in order to find one with a matching header. + + F โ {m Fn n: m+Fn n; ๐n: 2รn; ๐โผ๐ฉ: ๐ฉรท2} + + F 3 # ๐n + + Fโผ 6 # ๐โผ๐ฉ + + 10 F 3 # m Fn n |
