aboutsummaryrefslogtreecommitdiff
path: root/help/negate_subtract.md
diff options
context:
space:
mode:
Diffstat (limited to 'help/negate_subtract.md')
-rw-r--r--help/negate_subtract.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/help/negate_subtract.md b/help/negate_subtract.md
new file mode 100644
index 00000000..8a70e1bf
--- /dev/null
+++ b/help/negate_subtract.md
@@ -0,0 +1,30 @@
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/negate_subtract.html).*
+
+# Minus (`-`)
+
+## `- 𝕩`: Negate
+
+Additive Inverse of `𝕩`.
+
+[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
+
+ - 1
+
+ - ¯1
+
+
+## `𝕨 - 𝕩`: Subtract
+
+Subtract `𝕩` from `𝕨`. `𝕨` and `𝕩` can be characters or integers.
+
+[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
+
+ 1 - 2
+
+ 1 - 2‿3‿4
+
+ 'a' - 4
+
+ 'b' - 'a'
+
+