Skip to content

Commit 3fa05c0

Browse files
committed
add semicolon as an expression separator
1 parent 30cbc6c commit 3fa05c0

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

content/design.md

+2
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ In Cation, data types, values and functions are all first-class citizens, such t
123123
expressions.
124124

125125
Expressions are made of named entities, composed together according to the compatibility rules using functions.
126+
Expressions are separated either with a line feed character (U+000A), or with a semicolon `;` if put on one line one
127+
after the other.
126128

127129

128130
## Language syntax

content/reference.md

+3
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,9 @@ instantiated using a shorthand [range expressions](#range-expressions).
436436

437437
### Expressions
438438

439+
Expressions are separated either with a line feed character (U+000A), or with a semicolon `;` if put on one line one
440+
after the other.
441+
439442
#### Lambda expressions
440443

441444
Lambda expressions have two forms: [operator](#lambda-operator) and [specifier](#lambda-specifier).

0 commit comments

Comments
 (0)