summaryrefslogtreecommitdiff
path: root/05-types.md
diff options
context:
space:
mode:
Diffstat (limited to '05-types.md')
-rw-r--r--05-types.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/05-types.md b/05-types.md
index 1d6fe8579f..cad806eeeb 100644
--- a/05-types.md
+++ b/05-types.md
@@ -4,9 +4,10 @@ Types
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {.grammar}
Type ::= FunctionArgTypes ‘=>’ Type
| InfixType [ExistentialClause]
- FunctionArgTypes ::= InfixType
- | ‘(’ [ ParamType {‘,’ ParamType } ] ‘)’
- ExistentialClause ::= ‘forSome’ ‘{’ ExistentialDcl {semi ExistentialDcl} ‘}’
+ FunctionArgTypes ::= InfixType
+ | ‘(’ [ ParamType {‘,’ ParamType } ] ‘)’
+ ExistentialClause ::= ‘forSome’ ‘{’ ExistentialDcl
+ {semi ExistentialDcl} ‘}’
ExistentialDcl ::= ‘type’ TypeDcl
| ‘val’ ValDcl
InfixType ::= CompoundType {id [nl] CompoundType}