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

instance Generic (Rec f rs) ? #123

Open
ocramz opened this issue Aug 18, 2018 · 0 comments
Open

instance Generic (Rec f rs) ? #123

ocramz opened this issue Aug 18, 2018 · 0 comments

Comments

@ocramz
Copy link

ocramz commented Aug 18, 2018

I think Rec may be given a Generic (from GHC.Generics) instance, I'm just not sure how. Deriving does not work since Rec is a GADT, but I sort of see a type-level traversal from a list of constants (K1 ?) values to a Rec (which contains a type-level list).

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