From f2cd25f1ab2b04007c1f112dfffd3590e60f2d3b Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Sat, 9 Oct 2021 21:12:05 -0400 Subject: Documentation for Nothing --- 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 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. -- cgit v1.2.3