You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A number of keywords are reserved and cannot be used as identifiers. The keywords are: `bool`, `constraint`, `else`, `false`, `real`, `fn`, `if`, `int`, `let`, `maximize`, `minimize`, `satisfy`, `solve`, `true`, `type`.
65
+
A number of keywords are reserved and cannot be used as identifiers. The keywords are: `bool`, `constraint`, `else`, `false`, `real`, `fn`, `if`, `int`, `let`, `maximize`, `minimize`, `satisfy`, `solve`, `true`.
66
66
67
67
## High-level Intent Structure
68
68
@@ -138,7 +138,8 @@ Expressions represent values and have the following syntax:
138
138
| <int-literal>
139
139
| <real-literal>
140
140
| <string-literal>
141
-
| <tuple-literal>
141
+
| <tuple-expr>
142
+
| <tuple-index-expr>
142
143
| <if-expr>
143
144
| <call-expr>
144
145
```
@@ -249,15 +250,23 @@ let string = "first line\
249
250
third line";
250
251
```
251
252
252
-
#### Tuple Literals
253
+
#### Tuple Expressions and Tuple Indexing Expressions
The type of the expressions passed as arguments must match the argument types of the called function. The return type of the function must also be appropriate for the calling context.
0 commit comments