|
|
type-definition | ::= | type typedef { and typedef } |
typedef | ::= | [type-params] typeconstr-name [type-information] |
type-information | ::= | [type-equation] [type-representation] { type-constraint } |
type-equation | ::= | = typexpr |
type-representation | ::= | = constr-decl { | constr-decl } |
| | = { field-decl { ; field-decl } } | |
type-params | ::= | type-param |
| | ( type-param { , type-param } ) | |
type- |