diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-04-04 17:06:09 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-04-04 17:06:09 -0400 |
| commit | 0b8074154e2671691050bdb3bcb33245625a056c (patch) | |
| tree | 1410e0c4e05c6372e876cd08f16d117e12868f41 /docs/arrays.md | |
| parent | fadcb45baf1274e06cfe37b87655b9146aa52874 (diff) | |
First working compile of refactor to add explicit typing to declarations
and support untyped empty collections and `none`s
Diffstat (limited to 'docs/arrays.md')
| -rw-r--r-- | docs/arrays.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/arrays.md b/docs/arrays.md index e3da6e0e..437ab76f 100644 --- a/docs/arrays.md +++ b/docs/arrays.md @@ -18,7 +18,7 @@ you want to have an empty array, you must specify what type goes inside the arra like this: ```tomo -empty := [:Int] +empty : [Int] = [] ``` For type annotations, an array that holds items with type `T` is written as `[T]`. |
