morphismtech / squeal

Squeal, a deep embedding of SQL in Haskell
350 stars 32 forks source link

Extras Packages? #261

Closed khwarizmii closed 2 years ago

khwarizmii commented 4 years ago

In practice, it's common to use the uuid-ossp and ltree postgres modules.

The approach currently taken in @mwotton 's squealgen is to declare the relevant types when it generates modules. In addition, it looks like folks just hand roll libraries as needed.

You and I have talked about making a couple of extras packages for UUIDs and ltrees.


If we want to make an ltree package, is in appropriate to instance PGSubset for them like jsons?

echatav commented 2 years ago

done