Skip to content

Commit ea3a745

Browse files
Update type-system.md
1 parent 8aa8b63 commit ea3a745

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

type-system.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ $$abstraction \quad \frac{\Gamma\vdash a:A \quad \Gamma\vdash b:B \quad \Gamma\v
5959
$$application \quad \frac{\Gamma\vdash f : A\to B \space + C\to D \space + \space X\to Y \quad \Gamma\vdash x:A\space + \space C \quad f(x)}{\Gamma\vdash f(x):B\space + \space D}$$
6060
</div>
6161

62-
### Specialization vs Standard Unification
62+
### Specialization vs Subtyping
6363

64-
There is a slight distinction made between standard unification and specialization.
64+
There is a slight distinction made between subtyping and specialization.
6565
We say that specialization chooses "the most specific" candidate, but what does that really mean?
6666
We might think that specialization is just the deepest subtype, but that would be wrong.
6767

0 commit comments

Comments
 (0)