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

Consider adding Hint Mode for typeclasses #230

Open
palmskog opened this issue Jan 24, 2022 · 0 comments
Open

Consider adding Hint Mode for typeclasses #230

palmskog opened this issue Jan 24, 2022 · 0 comments

Comments

@palmskog
Copy link

palmskog commented Jan 24, 2022

This project has many typeclass definition (100+ by a rough estimation). To lower the risk for library users of getting diverging type class resolution, consider adding explicit Hint Mode declarations for each typeclass or at least for key typeclasses. For example, the manual states:

Setting a parameter of a class as an input forces proof search to be driven by that index of the class

See the stdpp library base module for many examples of using Hint Mode.

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

No branches or pull requests

1 participant