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

Missing type reflection functionality from base #974

Open
georgefst opened this issue Sep 6, 2019 · 0 comments
Open

Missing type reflection functionality from base #974

georgefst opened this issue Sep 6, 2019 · 0 comments

Comments

@georgefst
Copy link

I've seen elsewhere that some functionality from base has not been implemented. The lack of eqTypeRep and HRefl from Type.Reflection are the one thing stopping us from using eta in a project (both are in base-4.11), as we have a GADT which stores TypeReps and a function which traverses two of these GADTs, and behaves differently if the two TypeReps are equal.

Are there any plans to add this functionality, or is there a particular reason why it's difficult? I don't know of any other way to get the same behaviour in Haskell.

Incidentally, is there documentation anywhere of the differences to expect in base between eta and GHC Haskell?

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