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

HasDecoder instance for ElmConstructor is partial #32

Open
mitchellwrosen opened this issue Feb 12, 2017 · 1 comment
Open

HasDecoder instance for ElmConstructor is partial #32

mitchellwrosen opened this issue Feb 12, 2017 · 1 comment

Comments

@mitchellwrosen
Copy link

Hi, I don't know much about Elm yet, but I put something together that hit an non-exhaustive pattern match panic - there's no MultipleConstructors pattern for rendering an ElmConstructor.

Does this have to do with #6?

@FPtje
Copy link

FPtje commented Feb 13, 2017

Yes, it does. Both encoders and decoders are not supported for ADTs with multiple constructors for the reasons mentioned in #6.

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