aboutsummaryrefslogtreecommitdiff
path: root/help/merge_greaterthan.md
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-01-19 16:06:15 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-01-19 16:07:54 -0500
commit8c2607133c1147eee5588738c9b05467b799b127 (patch)
tree4e60cd11ca720dac4c68268a32c61b8ce1d0ec12 /help/merge_greaterthan.md
parent9adb6f754d9e69b9db28b413eba90e3c4515d649 (diff)
Align filenames with repl.js descriptions
Diffstat (limited to 'help/merge_greaterthan.md')
-rw-r--r--help/merge_greaterthan.md37
1 files changed, 37 insertions, 0 deletions
diff --git a/help/merge_greaterthan.md b/help/merge_greaterthan.md
new file mode 100644
index 00000000..23878afd
--- /dev/null
+++ b/help/merge_greaterthan.md
@@ -0,0 +1,37 @@
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/merge_greaterthan.html).*
+
+# Greater Than (`>`)
+
+## `> 𝕩`: Merge
+
+Add the rank of an element of `𝕩` to the rank of `𝕩`.
+
+All elements must have the same rank.
+
+Returns atomic values as is.
+
+
+ a ← ⟨⟨1, 2⟩, ⟨3, 4⟩⟩
+
+ >a
+
+ ≢a
+
+ ≢>a
+
+
+
+
+## `𝕨 > 𝕩`: Greater Than
+
+`𝕨` and `𝕩` can both be either numbers or characters.
+
+[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
+
+ 1 > 3
+
+ 2‿3‿0 > 3‿1‿0
+
+ 'a' > 'b'
+
+