Open carymrobbins opened 2 years ago
Looks like the checks failed only on AppVeyor, which looks to be a linker error.
@phadej - Are you the one to approve/merge this? Would be good to know if this change would be accepted or if there is some alternative you'd like instead.
This is useful for generalizing over things which can have their
FromRow
andToRow
instances derived. Specifically, this would enable libraries like generic-override to be able to interop withpostgresql-simple
's generic machinery.Without this change, given the following code -
We'll get the following compiler error -
This can be easily fixed by adding the
GToRow
constraint -However, this can't be done unless the constraint itself is exported.