Skip to content

Commit c70ae5a

Browse files
author
Shon Feder
committed
Update the language spec
1 parent 9c08b7d commit c70ae5a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/lang.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1300,14 +1300,14 @@ sets of records: (1) It often confuses beginners, (2) It can be expressed with
13001300

13011301
### Tuples
13021302

1303-
In contrast to TLA+, Quint tuples have length of at least 2.
1304-
If you need lists, use lists.
1305-
13061303
```scala
13071304
// Tuple constructor: << e_1, ..., e_n >>
1308-
// Warning: n >= 2
13091305
(e_1, ..., e_n)
13101306
Tup(e_1, ..., e_n)
1307+
// The empty tuple is also the canonical unit type
1308+
// <<>>
1309+
()
1310+
Tup()
13111311
// t[1], t[2], t[3], t[4], ... , t[50]
13121312
t._1
13131313
t._2

0 commit comments

Comments
 (0)