File tree Expand file tree Collapse file tree 1 file changed +31
-23
lines changed Expand file tree Collapse file tree 1 file changed +31
-23
lines changed Original file line number Diff line number Diff line change @@ -1146,23 +1146,24 @@ shallowDenote e = e
1146
1146
reservedIdentifiers :: HashSet Text
1147
1147
reservedIdentifiers =
1148
1148
Data.HashSet. fromList
1149
- [ " let"
1150
- , " in"
1151
- , " Type"
1152
- , " Kind"
1153
- , " Sort"
1154
- , " forall"
1155
- , " Bool"
1156
- , " True"
1157
- , " False"
1158
- , " merge"
1159
- , " toMap"
1160
- , " if"
1149
+ [ -- Keywords according to the `keyword` rule in the grammar
1150
+ " if"
1161
1151
, " then"
1162
1152
, " else"
1163
- , " as"
1153
+ , " let"
1154
+ , " in"
1164
1155
, " using"
1165
- , " Natural"
1156
+ , " missing"
1157
+ , " as"
1158
+ , " Infinity"
1159
+ , " NaN"
1160
+ , " merge"
1161
+ , " Some"
1162
+ , " toMap"
1163
+ , " assert"
1164
+ , " forall"
1165
+
1166
+ -- Builtins according to the `builtin` rule in the grammar
1166
1167
, " Natural/fold"
1167
1168
, " Natural/build"
1168
1169
, " Natural/isZero"
@@ -1176,23 +1177,30 @@ reservedIdentifiers =
1176
1177
, " Integer/negate"
1177
1178
, " Integer/show"
1178
1179
, " Integer/toDouble"
1179
- , " Double"
1180
+ , " Integer/show"
1181
+ , " Natural/subtract"
1180
1182
, " Double/show"
1181
- , " Text"
1182
- , " Text/show"
1183
- , " List"
1184
1183
, " List/build"
1185
1184
, " List/fold"
1186
1185
, " List/length"
1187
1186
, " List/head"
1188
1187
, " List/last"
1189
1188
, " List/indexed"
1190
1189
, " List/reverse"
1190
+ , " Optional/fold"
1191
+ , " Optional/build"
1192
+ , " Text/show"
1193
+ , " Bool"
1194
+ , " True"
1195
+ , " False"
1191
1196
, " Optional"
1192
- , " Some"
1193
1197
, " None"
1194
- , " Optional/build"
1195
- , " Optional/fold"
1196
- , " NaN"
1197
- , " Infinity"
1198
+ , " Natural"
1199
+ , " Integer"
1200
+ , " Double"
1201
+ , " Text"
1202
+ , " List"
1203
+ , " Type"
1204
+ , " Kind"
1205
+ , " Sort"
1198
1206
]
You can’t perform that action at this time.
0 commit comments