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

Automatic derivation on the backend side for extracted data types #224

Open
RaitoBezarius opened this issue May 29, 2024 · 2 comments
Open
Assignees

Comments

@RaitoBezarius
Copy link
Contributor

Lean supports automatic derivation of Repr and potential other typeclasses, it seems cheap to derive them.

Question is: are there situations where a user doesn't want additional typeclasses attached to their extracted data types?

@RaitoBezarius
Copy link
Contributor Author

cc @R1kM @sonmarcho

@sonmarcho
Copy link
Member

For now I don't see situations where a user seriously doesn't want additional typeclasses, so I suggest we implement this. The real questions is: which typeclasses do we want?
Also, are there situations where Lean will fail to derive the typeclasses?

@sonmarcho sonmarcho self-assigned this May 31, 2024
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

2 participants