Skip to content

Commit 58d2049

Browse files
committed
Update syntax changes section in doc page
1 parent a0820a7 commit 58d2049

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/_docs/reference/experimental/typeclasses.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,9 @@ GivenSig ::= GivenType ['as' id] ([‘=’ Expr] | TemplateBody)
344344
| ConstrApps ['as' id] TemplateBody
345345
GivenType ::= AnnotType {id [nl] AnnotType}
346346
347-
TypeParamBounds ::= TypeBounds [‘:’ ContextBounds]
347+
TypeDef ::= id [TypeParamClause] {FunParamClause} TypeAndCtxBounds
348+
TypeParamBounds ::= TypeAndCtxBounds
349+
TypeAndCtxBounds ::= TypeBounds [‘:’ ContextBounds]
348350
ContextBounds ::= ContextBound | '{' ContextBound {',' ContextBound} '}'
349351
ContextBound ::= Type ['as' id]
350352
```

0 commit comments

Comments
 (0)