aboutsummaryrefslogtreecommitdiff
path: root/docs/help/merge_greaterthan.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/help/merge_greaterthan.html')
-rw-r--r--docs/help/merge_greaterthan.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/docs/help/merge_greaterthan.html b/docs/help/merge_greaterthan.html
new file mode 100644
index 00000000..68e84cdf
--- /dev/null
+++ b/docs/help/merge_greaterthan.html
@@ -0,0 +1,37 @@
+<head>
+ <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/>
+ <link href="../style.css" rel="stylesheet"/>
+ <title>BQN: Greater Than (`>`)</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="greater-than-"><a class="header" href="#greater-than-">Greater Than (<code><span class='Function'>&gt;</span></code>)</a></h1>
+<h2 id="--merge--"><a class="header" href="#--merge--"><code><span class='Function'>&gt;</span> <span class='Value'>𝕩</span></code>: Merge</a></h2>
+<p>Add the rank of an element of <code><span class='Value'>𝕩</span></code> to the rank of <code><span class='Value'>𝕩</span></code>.</p>
+<p>All elements must have the same rank.</p>
+<p>Returns atomic values as is.</p>
+<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICBhIOKGkCDin6jin6gxLCAy4p+pLCDin6gzLCA04p+p4p+pCgogID5hCgogIOKJomEKCiAg4omiPmE=">↗️</a><pre> <span class='Value'>a</span> <span class='Gets'>←</span> <span class='Bracket'>⟨⟨</span><span class='Number'>1</span><span class='Separator'>,</span> <span class='Number'>2</span><span class='Bracket'>⟩</span><span class='Separator'>,</span> <span class='Bracket'>⟨</span><span class='Number'>3</span><span class='Separator'>,</span> <span class='Number'>4</span><span class='Bracket'>⟩⟩</span>
+
+ <span class='Function'>&gt;</span><span class='Value'>a</span>
+┌─
+╵ 1 2
+ 3 4
+ ┘
+
+ <span class='Function'>≢</span><span class='Value'>a</span>
+⟨ 2 ⟩
+
+ <span class='Function'>≢&gt;</span><span class='Value'>a</span>
+⟨ 2 2 ⟩
+</pre>
+<h2 id="---greater-than"><a class="header" href="#---greater-than"><code><span class='Value'>𝕨</span> <span class='Function'>&gt;</span> <span class='Value'>𝕩</span></code>: Greater Than</a></h2>
+<p><code><span class='Value'>𝕨</span></code> and <code><span class='Value'>𝕩</span></code> can both be either numbers or characters.</p>
+<p><a href="https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion">Pervasive.</a></p>
+<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAxID4gMwoKICAy4oC/M+KAvzAgPiAz4oC/MeKAvzAKCiAgJ2EnID4gJ2In">↗️</a><pre> <span class='Number'>1</span> <span class='Function'>&gt;</span> <span class='Number'>3</span>
+0
+
+ <span class='Number'>2</span><span class='Ligature'>‿</span><span class='Number'>3</span><span class='Ligature'>‿</span><span class='Number'>0</span> <span class='Function'>&gt;</span> <span class='Number'>3</span><span class='Ligature'>‿</span><span class='Number'>1</span><span class='Ligature'>‿</span><span class='Number'>0</span>
+⟨ 0 1 0 ⟩
+
+ <span class='String'>'a'</span> <span class='Function'>&gt;</span> <span class='String'>'b'</span>
+0
+</pre>