aboutsummaryrefslogtreecommitdiff
path: root/docs/tables.md
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-04-06 22:45:02 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-04-06 22:45:02 -0400
commit44cd26f2cebd760a53aa4ff1b7779e718a101650 (patch)
tree4bdc9144c6825a0c394155712d5e464ee2a61061 /docs/tables.md
parent3406515a44b13d0c290c28ac42bd364ce27560c7 (diff)
Rename Array -> List in all code and docs
Diffstat (limited to 'docs/tables.md')
-rw-r--r--docs/tables.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/tables.md b/docs/tables.md
index 7a50c9dd..605a1486 100644
--- a/docs/tables.md
+++ b/docs/tables.md
@@ -2,7 +2,7 @@
Tables are Tomo's associative mapping structure, also known as a Dictionary or
Map. Tables are efficiently implemented as a hash table that preserves
-insertion order and has fast access to keys and values as array slices. Tables
+insertion order and has fast access to keys and values as list slices. Tables
support *all* types as both keys and values.
## Syntax
@@ -25,7 +25,7 @@ For type annotations, a table that maps keys with type `K` to values of type
### Comprehensions
-Similar to arrays, tables can use comprehensions to dynamically construct tables:
+Similar to lists, tables can use comprehensions to dynamically construct tables:
```tomo
t := {i=10*i for i in 10}
@@ -123,7 +123,7 @@ Table length can be accessed by the `.length` field:
## Accessing Keys and Values
-The keys and values of a table can be efficiently accessed as arrays using a
+The keys and values of a table can be efficiently accessed as lists using a
constant-time immutable slice of the internal data from the table:
```tomo