aboutsummaryrefslogtreecommitdiff
path: root/docs/help/table.html
blob: f5f3c0f051f1c64754f80c75813c029ad315ab25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<head>
  <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/>
  <link href="../style.css" rel="stylesheet"/>
  <title>BQN: Top Left Corner (⌜)</title>
</head>
<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>
<h1 id="top-left-corner-"><a class="header" href="#top-left-corner-">Top Left Corner (<code><span class='Modifier'></span></code>)</a></h1>
<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>
<p><a class="fulldoc" href="../doc/map.html">→full documentation</a></p>
<p>Apply <code><span class='Function'>𝔽</span></code> between every possible pair of the elements of the arguments.</p>
<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>
┌─           
╵ 5 6  7  8  
  6 7  8  9  
  7 8  9 10  
  8 9 10 11  
            ┘

    <span class='String'>&quot;abc&quot;</span> <span class='Function'></span><span class='Modifier'></span> <span class='String'>&quot;xyz&quot;</span>
┌─                
╵ "ax" "ay" "az"  
  "bx" "by" "bz"  
  "cx" "cy" "cz"  
                 ┘
</pre>