Closed kris-brown closed 9 months ago
Attention: 26 lines
in your changes are missing coverage. Please review.
Comparison is base (
06be9f0
) 97.25% compared to head (cd55f7f
) 96.18%. Report is 10 commits behind head on scope-level-alias.:exclamation: Current head cd55f7f differs from pull request most recent head 0075a98. Consider uploading reports for the commit 0075a98 to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Given a Theory Morphism T->U and a type Mᵤ (whose values are models of U), obtain a type Mₜ which has one parameter (of type Mᵤ) whose values are models of T.
E.g. given
NatIsMonoid: ThMonoid->ThNatPlus
andIntPlus <: Model{Tuple{Int}}
andIntPlus
implementsThNatPlus
:Yields:
Future work: There is some subtlety in how accessor functions should be handled. TODO: The new instance methods do not yet handle the
context
keyword argument. No models withwhere
type parameters have been tested yet.StdLib.DerivedModels has some examples.