Skip to content

Commit 8d98f96

Browse files
committed
doc(match-type): fix type lambda syntax
1 parent ff476f7 commit 8d98f96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/new-types/match-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ S match { P1 => T1 ... Pn => Tn }
5454
```
5555
is `Match(S, C1, ..., Cn) <: B` where each case `Ci` is of the form
5656
```
57-
[Xs] => P => T
57+
[Xs] =>> P => T
5858
```
5959
Here, `[Xs]` is a type parameter clause of the variables bound in pattern `Pi`. If there are no bound type variables in a case, the type parameter clause is omitted and only the function type `P => T` is kept. So each case is either a unary function type or a type lambda over a unary function type.
6060

0 commit comments

Comments
 (0)