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

Use datatypeReturnKind for lifted/unliftedness info #2

Open
TeofilC opened this issue Feb 13, 2024 · 0 comments
Open

Use datatypeReturnKind for lifted/unliftedness info #2

TeofilC opened this issue Feb 13, 2024 · 0 comments

Comments

@TeofilC
Copy link
Collaborator

TeofilC commented Feb 13, 2024

Currently we figure out whether a type is lifted/unlifted by calling reifyType on it to get its Kind.
This works well, but the coming version of th-abstraction now comes with this logic built-in, so it would be good to transition to rely on that functionality rather than redefining it here.

A tricky edge case is runtime rep polymorphic newtypes, but we have a test case for that.

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