Minor updates to specialization subchapter

This commit is contained in:
Mark Mansi 2018-02-12 17:55:06 -06:00
parent 0236316fb2
commit a0ddc8aa8a
1 changed files with 4 additions and 1 deletions

View File

@ -1,9 +1,12 @@
# Specialization # Specialization
**TODO**: where does Chalk fit in? Should we mention/discuss it here?
Defined in the `specialize` module. Defined in the `specialize` module.
The basic strategy is to build up a *specialization graph* during The basic strategy is to build up a *specialization graph* during
coherence checking. Insertion into the graph locates the right place coherence checking (recall that coherence checking looks for overlapping
impls). Insertion into the graph locates the right place
to put an impl in the specialization hierarchy; if there is no right to put an impl in the specialization hierarchy; if there is no right
place (due to partial overlap but no containment), you get an overlap place (due to partial overlap but no containment), you get an overlap
error. Specialization is consulted when selecting an impl (of course), error. Specialization is consulted when selecting an impl (of course),