Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/docs/reference/new-types/match-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Here `=:=` is understood to mean that left and right hand sides are mutually sub

In general, a match type is of the form
```scala
S match { P1 => Tn ... Pn => Tn }
S match { P1 => T1 ... Pn => Tn }
```
where `S`, `T1`, ..., `Tn` are types and `P1`, ..., `Pn` are type patterns. Type variables
in patterns start as usual with a lower case letter.
Expand All @@ -50,7 +50,7 @@ In this definition, every instance of `Concat[A, B]`, whether reducible or not,

The internal representation of a match type
```
S match { P1 => Tn ... Pn => Tn }
S match { P1 => T1 ... Pn => Tn }
```
is `Match(S, C1, ..., Cn) <: B` where each case `Ci` is of the form
```
Expand Down