Closed ivanbakel closed 3 years ago
There is no reason for the instance to not exist. It would tend to encourage very large anonymous tuples but i can definitely see advantages. @parsonsmatt thoughts?
Hey, anything that means we use less (,)
tuples is good by me!
Should
a :& b
have aSqlSelect
instance, based on that of(a, b)
? This has come up for me when using the experimental API, since I do something likeIn the above example, where the
from
is a join,rec
becomesa :& b
, but since Esqueleto expects you to split the:&
and return(a, b)
instead, there's no appropriate instance for running theselect
.The instance could look something like this:
This is an orphan I'm using to make my code compile, but I don't know if it's the intended way.