From 3295d50d33ba6f92185470c2984b097140231618 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Tue, 14 Jun 2022 22:13:43 -0400 Subject: =?UTF-8?q?Use=20[]=20instead=20of=20>=E2=9F=A8=E2=9F=A9=20in=20a?= =?UTF-8?q?=20few=20places?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/arrayrepr.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/arrayrepr.md') 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). -- cgit v1.2.3