aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-12-02 14:59:40 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-12-02 15:06:12 -0500
commitba4658edcf3247e18aacc75eda30a572ed403af2 (patch)
tree05c70c7696f68766eb38ccfdcf19f0fa28e0db80 /doc
parentc3ca745d472c6dd8fb54c023f1922bc9805b48d2 (diff)
Use the result generation instead of writing ERROR in code blocks
Diffstat (limited to 'doc')
-rw-r--r--doc/block.md1
-rw-r--r--doc/join.md2
2 files changed, 0 insertions, 3 deletions
diff --git a/doc/block.md b/doc/block.md
index d4bdd71b..e565ab17 100644
--- a/doc/block.md
+++ b/doc/block.md
@@ -168,7 +168,6 @@ Bodies before the last two must have headers that include arguments. When a bloc
If no header is compatible, the call results in an error.
3 CaseAdd 3
- ERROR
### Case headers
diff --git a/doc/join.md b/doc/join.md
index 3b42069f..04fa8a0e 100644
--- a/doc/join.md
+++ b/doc/join.md
@@ -15,9 +15,7 @@ To join with a separator in between, we might prepend the separator to each stri
Join requires each element of its argument to be an array, and their ranks to match exactly. No rank extension is performed.
∾"abc"‿'d'‿"ef" # Includes an atom
- RANK ERROR
∾"abc"‿(<'d')‿"ef" # Includes a unit
- RANK ERROR
However, Join has higher-dimensional uses as well. Given a rank-`m` array of rank-`n` arrays (requiring `m≤n`), it will merge arrays along their first `m` axes. For example, if the argument is a matrix of matrices representing a [block matrix](https://en.wikipedia.org/wiki/Block_matrix), Join will give the corresponding unblocked matrix as its result.