Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Typeclass Strict Resolution #122

Open
Lysxia opened this issue Jan 12, 2022 · 0 comments
Open

Set Typeclass Strict Resolution #122

Lysxia opened this issue Jan 12, 2022 · 0 comments
Labels

Comments

@Lysxia
Copy link
Contributor

Lysxia commented Jan 12, 2022

I recently discovered this wonderful option: Set Typeclass Strict Resolution, which would help avoid infinite loop problems such as that motivating #106.

When looking for unifications of a goal with an instance of this class, we “freeze” all the existentials appearing in the goals, meaning that they are considered rigid during unification and cannot be instantiated.

You have to add more type annotations sometimes but as far as I can tell the types are ambiguous in such situations anyway. @gmalecha do you have any experience with that option?

@github-actions github-actions bot added the Stale label Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant