typing icon indicating copy to clipboard operation
typing copied to clipboard

[spec] conceptual foundation and glossary entries for variance

Open carljm opened this issue 1 year ago • 0 comments

Currently the section on variance says:

A longer introduction to these concepts can be found on Wikipedia and in PEP 483; here we just show how to control a type checker’s behavior.

Now that we have a core concepts section in the spec, it would be good for the spec to also derive the rationale for variance from those core concepts, rather than deferring to the (ten-year-old and not updatable) PEP 483.

We should also add glossary entries for variance terminology: invariant, covariant, contravariant, and variance.

carljm avatar Jul 12 '24 22:07 carljm