k0001 / tisch

Type-safe SQL interactions with PostgreSQL, based on Opaleye.
Apache License 2.0
54 stars 15 forks source link

Is it possible to use Vinyl with tisch? #14

Closed expipiplus1 closed 7 years ago

expipiplus1 commented 7 years ago

It seems as though PgR and Rec are very similar. It might reduce friction at the edges of this library to use the more widespread Vinyl.

k0001 commented 7 years ago

Yes and no. At the time I evaluated Vinyl and other alternatives, and it made sense to do something else due to the many tricky instances that need to be provided, type inference, and also because I'm not a big fan of buying into Vinyl or any of the competing alternatives. In related news, I'm actually thinking of revamping records internally to use Vector instead, which should lead to a more efficient runtime, but also to more efficient compilation times with enough type level tricks which are usually not possible with an inductive data type such as the current HList.

On Jan 5, 2017 14:32, "Joe Hermaszewski" notifications@github.com wrote:

It seems as though PgR and Rec are very similar. It might reduce friction at the edges of this library to use the more widespread Vinyl.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/k0001/tisch/issues/14, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAM5mOv7_RWPVynpk8TiOXUyD5XeY4Hks5rPPD2gaJpZM4LbsNj .

expipiplus1 commented 7 years ago

That makes sense, thanks for answering.