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

Typeclass Inheritance #43

Open
re-xyr opened this issue Jun 14, 2021 · 0 comments
Open

Typeclass Inheritance #43

re-xyr opened this issue Jun 14, 2021 · 0 comments

Comments

@re-xyr
Copy link
Member

re-xyr commented Jun 14, 2021

Basically,

  • Use the same underlying structure as record inheritance
  • Auto search for the inherited typeclass's instance, hint user to give manually when >1 instances exist
  • Also introducing the parent typeclass instance into scope when child typeclass instance is in scope (e.g. Functor available when Applicative in scope)
@ice1000 ice1000 transferred this issue from aya-prover/aya-prover-proto Sep 28, 2021
@mio-19 mio-19 mentioned this issue Aug 2, 2022
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