From 00abceb4b2b43acd7fbb100aac41f759f643f5e7 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Tue, 27 Jul 2021 21:24:34 -0400 Subject: Array diagram --- doc/array.md | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) (limited to 'doc/array.md') diff --git a/doc/array.md b/doc/array.md index 7d4ccc34..5c50ca08 100644 --- a/doc/array.md +++ b/doc/array.md @@ -10,6 +10,65 @@ BQN's arrays are immutable, meaning that an array is entirely defined by its att An array might also have a [fill element](fill.md) that captures some structural information about its elements and is used by a few operations. The fill, as an inferred property, isn't considered to truly be part of the array but is instead some information about the array that the interpreter keeps track of. So it's out of scope here. + + ## Rectangles A BQN **array** is a multidimensional arrangement of data. The word "array" descends from words meaning "order", and the data in an array is ordered indeed. Below are examples of arrays with zero, one, and two dimensions. -- cgit v1.2.3