-
Notifications
You must be signed in to change notification settings - Fork 14
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
Hide generated adaptors for tuples from haddocks #29
Comments
Yeah, this is a good idea. |
Actually the generic implementations would subsume the |
That would be good. I don't care about |
I found that I'm wondering then whether it's fine to just get rid of The template haskell scripts that are currently in use to implement |
Nice!
Any idea why? It's pretty nasty to use tuples of length greater than 7 anyway so we can probably get rid of these.
The TH is a big hack and could be written much better. I'd like to replace it with |
Beyond the fact that large tuples are smelly, it seems they also blow up compilation time and space usage. especially in combination with generics. I found this relevant GHC issue where they made the decision of stopping at 7. |
That's a bit worrying because people will want to use these product-profunctor generics with Opaleye with records approaching 100 fields in size ... |
These lines make the documentation look pretty bad.
A simple fix is to move them into their own module, which can be reexported by the main one. I think it would be even better to let the user import that separate module themselves because the short names pollute the namespace a bit.
The text was updated successfully, but these errors were encountered: