aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-07-12 12:28:25 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-07-12 12:28:25 -0400
commitde0b28520bc7bb65459db17c7451f808f6ef4e3e (patch)
treefb222cb8799015f9ab572ad42289e20f867f73f2 /doc
parent1d45d5be707cc22c1168c9b2b6631238bb1811d9 (diff)
Tweak Indices example to avoid {š•©/1āŒ½š•©} interpretation
Diffstat (limited to 'doc')
-rw-r--r--doc/replicate.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/replicate.md b/doc/replicate.md
index b096ae62..7dd23e13 100644
--- a/doc/replicate.md
+++ b/doc/replicate.md
@@ -97,7 +97,7 @@ If `š•Ø` is `⟨⟩`, then it has depth 1, but is handled with the multidimensi
The monadic form of `/` is much simpler than the dyadic one, with no multidimensional case or mismatched argument ranks. `š•©` has to be a list of natural numbers, and `/š•©` is the list `š•©/ā†•ā‰ š•©`. Its elements are the [indices](indices.md) for `š•©`, with index `i` repeated `iāŠ‘š•©` times.
- / 3‿0‿1‿2
+ / 3‿0‿2‿1
A unit argument isn't allowed, and isn't very useful: for example, `/6` might indicate an array of six zeros, but this can be written `/ℊ6` or `6ℊ0` with hardly any extra effort.