Skip to content

Conversation

@proux01
Copy link
Contributor

@proux01 proux01 commented Sep 26, 2023

These were situations where the cast was useless and the body was
expected to be interpreted in the current scope rather than in the
scope bound to the cast.

(The current scope interprets numeral in a generic - type class- way.)
These were situations where the cast was needed to hint type class
inference but the body was expected to be interpreted in the
type-class (current) scope rather than in the more specialized scope
bound to the cast type.

We add a "%mc" to force using the type-class based generic
interpretation.
@proux01 proux01 marked this pull request as ready for review September 27, 2023 06:39
@proux01 proux01 merged commit aaaf68f into master Oct 5, 2023
@proux01 proux01 deleted the master+adapting-cast-using-scope-bound-to-type branch October 5, 2023 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants