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

Support for GADTs #63

Open
kamoii opened this issue Feb 18, 2020 · 1 comment
Open

Support for GADTs #63

kamoii opened this issue Feb 18, 2020 · 1 comment

Comments

@kamoii
Copy link

kamoii commented Feb 18, 2020

Hi, thanks for this cool library.

Is support for GADTs planned?

@judah
Copy link
Collaborator

judah commented Feb 21, 2020

Yes, adding support for GADTs makes a lot of sense. I haven't looked closely at what an API for them would look like. If anyone would like to take a try at implementing it, the docs for HsDataDefn describe how GADTs are represented differently than regular Haskell-98 datatypes:
http://hackage.haskell.org/package/ghc-8.6.5/docs/HsDecls.html#t:HsDataDefn

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