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
Instances for types from small packages #432
Comments
What are the alternatives? Add them ...
Unless there are options I didn't mention, only the last alternative seems reasonable to me. At Silk we have a custom prelude which imports all orphan instances to avoid not-imported problems, but a lot of packages may not want a custom prelude. |
I agree with @bergmark. Picking up a dependency on |
@andrewthad, sorry for being unclear. http://hackage.haskell.org/package/quickcheck-instances clearly mentions
IMHO |
If someone creates such a package we can make a note of it somewhere in aeson marking "blessed" external instances. If we decide to add any of those to aeson we'll sync with that package to prevent breakage. |
The discussion about aeson What's your opinion nowadays, @bergmark. If I strip Over past years my opinion become that |
I realised that I might need
ToJSON
forThese
.For now I'll go with orphan instance in my application, but in longer run, where to put those instances?
The text was updated successfully, but these errors were encountered: