aboutsummaryrefslogtreecommitdiff
path: root/doc/map.md
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-06-14 22:13:43 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-06-14 22:14:25 -0400
commit3295d50d33ba6f92185470c2984b097140231618 (patch)
treeb98d6f45c9b2f43f3dbd229662234d26150ad58a /doc/map.md
parent53a4cfb43d9fe0f5654a20d7937ac653be6a30e3 (diff)
Use [] instead of >⟨⟩ in a few places
Diffstat (limited to 'doc/map.md')
-rw-r--r--doc/map.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/map.md b/doc/map.md
index bbde53d0..3ec1b6ce 100644
--- a/doc/map.md
+++ b/doc/map.md
@@ -154,7 +154,7 @@ If the argument lengths don't match then Each gives an error. This differs from
Arguments can have any shape as long as the axis lengths match up. As with Table, the result elements don't depend on these shapes but the result shape does.
- (>⟨20‿30‿10,50‿40‿60⟩) +⟜↕¨ 2‿1‿0≍3‿2‿1
+ [20‿30‿10,50‿40‿60] +⟜↕¨ 2‿1‿0≍3‿2‿1
But arguments don't have to have exactly the same shape: just the same length along corresponding axes. These axes are matched up by [leading axis agreement](leading.md#leading-axis-agreement), so that one argument's shape has to be a prefix of the other's. With equal ranks, the shapes do have to match as we've seen above.