diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-01-19 15:10:38 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-19 15:10:38 -0500 |
| commit | ce364aeae795ca8a8e46e653b8024ac5a9ad0982 (patch) | |
| tree | 7af238dbdb370a768f965066dadadd144cbd70f7 /help/negate_subtract.md | |
| parent | 8f0aa14fa695ff3aa3b3ed96c02fdb2ab99f272c (diff) | |
| parent | edddb9be0aa1f03c8608d3dabf7ccfea3fdde206 (diff) | |
Merge pull request #55 from razetime/master
Simple help pages for Primitive Symbols
Diffstat (limited to 'help/negate_subtract.md')
| -rw-r--r-- | help/negate_subtract.md | 30 |
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' + + |
