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

Record sum types are not that bad #127

Open
HugoPeters1024 opened this issue Apr 14, 2022 · 0 comments
Open

Record sum types are not that bad #127

HugoPeters1024 opened this issue Apr 14, 2022 · 0 comments

Comments

@HugoPeters1024
Copy link

I'm not sure if it is perhaps also difficult to implement, but I find not supporting sum record types because they are bad practice, as you put it, a bit arbitrary. I'm currently working on a project where I want to serialize somebody else's types which happen to contain a sum record, but now I'm stuck.

I would also make the argument that it's not that bad, even GHC itself has a few examples.

Let me know what you think

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