tomjaguarpaw / haskell-opaleye

Other
597 stars 115 forks source link

Split off instances into new "opaleye-instances" package? #471

Open tomjaguarpaw opened 4 years ago

tomjaguarpaw commented 4 years ago

We have a rather large dependency footprint. aeson in particular takes a long time to compile. If we split off instances into a separate package we could do away with the following dependencies:

aeson, base16-bytestring, bytestring, case-insensitive, scientific, text, time, time-locale-compat, uuid

leaving us with a much nicer dependency footprint.

base, contravariant, postgresql-simple, pretty, product-profunctors, profunctors, semigroups, transformers, void

Since we define our own Sql... types, these instances wouldn't need to be orphans.

tomjaguarpaw commented 3 years ago

Although be careful that any such work is not immediately undone by depending on postgresql-simple.