Skip to content

Commit 6d60938

Browse files
committed
Add monadic case to Table's help page (#108)
1 parent 6a770e1 commit 6d60938

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

docs/help/table.html

+9-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</head>
77
<div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div>
88
<h1 id="top-left-corner-"><a class="header" href="#top-left-corner-">Top Left Corner (<code><span class='Modifier'></span></code>)</a></h1>
9-
<h2 id="𝕨-𝔽-𝕩-table"><a class="header" href="#𝕨-𝔽-𝕩-table"><code><span class='Value'>𝕨</span> <span class='Function'>𝔽</span><span class='Modifier'></span> <span class='Value'>𝕩</span></code>: Table</a></h2>
9+
<h2 id="𝔽-𝕩-𝕨-𝔽-𝕩-table"><a class="header" href="#𝔽-𝕩-𝕨-𝔽-𝕩-table"><code><span class='Function'>𝔽</span><span class='Modifier'></span> <span class='Value'>𝕩</span></code>, <code><span class='Value'>𝕨</span> <span class='Function'>𝔽</span><span class='Modifier'></span> <span class='Value'>𝕩</span></code>: Table</a></h2>
1010
<p><a class="fulldoc" href="../doc/map.html">→full documentation</a></p>
1111
<p>Apply <code><span class='Function'>𝔽</span></code> between every possible pair of the elements of the arguments.</p>
1212
<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=MeKAvzLigL8z4oC/NCAr4oycIDTigL814oC/NuKAvzcKCiJhYmMiIOKIvuKMnCAieHl6Ig==">↗️</a><pre> <span class='Number'>1</span><span class='Ligature'></span><span class='Number'>2</span><span class='Ligature'></span><span class='Number'>3</span><span class='Ligature'></span><span class='Number'>4</span> <span class='Function'>+</span><span class='Modifier'></span> <span class='Number'>4</span><span class='Ligature'></span><span class='Number'>5</span><span class='Ligature'></span><span class='Number'>6</span><span class='Ligature'></span><span class='Number'>7</span>
@@ -24,3 +24,11 @@ <h2 id="𝕨-𝔽-𝕩-table"><a class="header" href="#𝕨-𝔽-𝕩-table"><co
2424
"cx" "cy" "cz"
2525
2626
</pre>
27+
<p>Identical to <a href="each.html">Each</a> when called with one argument.</p>
28+
<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=POKMnCAx4oC/MuKAvzM=">↗️</a><pre> <span class='Function'>&lt;</span><span class='Modifier'></span> <span class='Number'>1</span><span class='Ligature'></span><span class='Number'>2</span><span class='Ligature'></span><span class='Number'>3</span>
29+
┌─
30+
· ┌· ┌· ┌·
31+
· 1 · 2 · 3
32+
┘ ┘ ┘
33+
34+
</pre>

help/table.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@
22

33
# Top Left Corner (``)
44

5-
## `𝕨 𝔽⌜ 𝕩`: Table
5+
## `𝔽⌜ 𝕩`, `𝕨 𝔽⌜ 𝕩`: Table
66
[→full documentation](../doc/map.md)
77

88
Apply `𝔽` between every possible pair of the elements of the arguments.
99

1010
1‿2‿3‿4 +⌜ 4‿5‿6‿7
1111

1212
"abc" ∾⌜ "xyz"
13+
14+
Identical to [Each](each.md) when called with one argument.
15+
16+
<⌜ 1‿2‿3

0 commit comments

Comments
 (0)