diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-06-14 22:13:43 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-06-14 22:14:25 -0400 |
| commit | 3295d50d33ba6f92185470c2984b097140231618 (patch) | |
| tree | b98d6f45c9b2f43f3dbd229662234d26150ad58a /doc/arrayrepr.md | |
| parent | 53a4cfb43d9fe0f5654a20d7937ac653be6a30e3 (diff) | |
Use [] instead of >⟨⟩ in a few places
Diffstat (limited to 'doc/arrayrepr.md')
| -rw-r--r-- | doc/arrayrepr.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/arrayrepr.md b/doc/arrayrepr.md index 9ea4aa57..e4f93948 100644 --- a/doc/arrayrepr.md +++ b/doc/arrayrepr.md @@ -153,6 +153,6 @@ BQN has literal notation for lists only right now. To get an array with rank oth ∘‿2 ⥊ ⟨2,3, 4,1, 0,5⟩ - > ⟨2‿3, 4‿1, 0‿5⟩ + [2‿3, 4‿1, 0‿5] The characters `[]` are reserved to potentially combine list notation with merging, allowing the above to be written `[2‿3, 4‿1, 0‿5]`. This would allow non-empty arrays with rank one or more to be written without a primitive, but not rank 0 or empty arrays. Since creating arrays in general would still require primitives like `<` or `⥊`, it's not clear whether this notation is worth it. General array notation is a surprisingly complicated topic; see the article about it [on the APL Wiki](https://aplwiki.com/wiki/Array_notation). |
