-
Notifications
You must be signed in to change notification settings - Fork 115
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
Generalize in_
#602
Comments
This seems like a good idea. Is it a breaking change? If so it would prefer to introduce it under a new name first, but I'm struggling to think of any code that could be broken by this. |
Anything that wraps |
Oh wait, maybe I'm wrong because |
Yes |
@tysonzero: can you confirm whether this does the job? #604 |
It'd be nice to drop the I'm not sure if there will be any performance difference using |
Oh yeah, thanks. Please take another look: #604 (Regarding performance, let's leave that as a potential future optimization. I don't want to get into the weeds of that.) |
Then yes that seems reasonable! |
Thanks for your input. If Opaleye contains blockers for you or even stuff that you find just unergonomic then please keep prompting me about it. |
The current type is:
But it seems like a nicer type would be:
We can drop the
Functor
as the mapping is/can-be done after thetoList
/foldr
type stuff, and we take advantage of theDefault EqPP
machinery that.===
uses sinceIN
seems to work just fine in PostgreSQL on products/tuples.This should close #404, #406, #419 and the issue is mentioned in open issues #431 and #599.
The text was updated successfully, but these errors were encountered: