diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-10-09 21:12:05 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-10-09 21:18:10 -0400 |
| commit | f2cd25f1ab2b04007c1f112dfffd3590e60f2d3b (patch) | |
| tree | 94353b9dd5d9c174b1fe2be80a5d57479a134ccc /doc/arrayrepr.md | |
| parent | 4ff015d2a879a61eb76ef3986fcce68e7b826850 (diff) | |
Documentation for Nothing
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 5c425225..ee93b17e 100644 --- a/doc/arrayrepr.md +++ b/doc/arrayrepr.md @@ -102,7 +102,7 @@ Even special characters like a newline can appear in a string literal, so that s ### Brackets -**List notation** uses angle brackets `⟨⟩`. The contents are structurally identical to those of a [block](block.md), that is, a list of expressions [separated](syntax.md#separators) by `,` or `⋄` or newlines. Unlike a block, a list doesn't need to have any expressions: `⟨⟩` or `⟨⋄⟩` or `⟨,,⋄,⟩` will create an empty list. Other differences are that a list doesn't introduce a new [scope](lexical.md) and all of the expressions have to result in a value, not Nothing (`·`). +**List notation** uses angle brackets `⟨⟩`. The contents are structurally identical to those of a [block](block.md), that is, a list of expressions [separated](syntax.md#separators) by `,` or `⋄` or newlines. Unlike a block, a list doesn't need to have any expressions: `⟨⟩` or `⟨⋄⟩` or `⟨,,⋄,⟩` will create an empty list. Other differences are that a list doesn't introduce a new [scope](lexical.md) and all of the expressions have to result in a value, not [Nothing](expression.md#nothing) (`·`). Entries in a list are evaluated in source order, and the value will be the list of those results. The list has a subject role, even if it contains expressions with other roles. Any value can be an element. |
