Minor updates to specialization subchapter
This commit is contained in:
parent
a4b5151b11
commit
8d11e1ac3b
|
|
@ -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),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue