diff options
| author | Mel <mel@rnrd.eu> | 2026-05-28 04:24:51 +0200 |
|---|---|---|
| committer | Mel <mel@rnrd.eu> | 2026-05-28 04:24:51 +0200 |
| commit | 4ec376b67d605910cb7757dc2e15a28a942f59ca (patch) | |
| tree | 4e98614792e5a00175fa29e705142850993d68f6 /docs | |
| parent | a5b24e3eedc8bd48de99cfb90abb3bececa5d29f (diff) | |
| download | catskill-4ec376b67d605910cb7757dc2e15a28a942f59ca.tar.zst catskill-4ec376b67d605910cb7757dc2e15a28a942f59ca.zip | |
Correct type modifier combinations and grouping
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/grammar.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/grammar.md b/docs/grammar.md index 18a8550..fd47c47 100644 --- a/docs/grammar.md +++ b/docs/grammar.md @@ -236,10 +236,10 @@ type_variant = "variant" "{" variant_cases "}" type_class = "class" "{" class_methods "}" type_function = "fun" function_header type_structure = "{" struct_fields "}" -type_tuple = "(" [ type { "," type } ] ")" +type_tuple = "(" [ type { "," type } ] ")" # 1-tuple is equivalent to a simple group type_array = "[" type "]" type_map = "[" type "=" type "]" -type_reference = "&" type +type_reference = "&" type_inner # common shapes |
