tomjaguarpaw / haskell-opaleye

Other
599 stars 115 forks source link

PrimQuery into separate library? #290

Closed ghost closed 7 years ago

ghost commented 7 years ago

https://github.com/m4dc4p/haskelldb/pull/28#issuecomment-294364315 https://www.reddit.com/r/haskell/comments/5vxkih/current_libraries_providing_relational_algebra/de5ql24/

I am interested in moving forward with a prototype external DSL that allows users to specify queries, and a simple backend that generates mysql queries. I use HaskellDB's primquery type currently as the backbone. The next step is to switch to using opaleye's primquery type.

Feel free to close this if you are not interested in pursuing this. Thanks for considering.

tomjaguarpaw commented 7 years ago

In principle we could do this. In practice I think it's better if you just fork Opaleye's PrimQuery. That allows us to use it most effectively for our separate needs and we can look at extracting common parts in the future.

ghost commented 7 years ago

Sounds good. Thanks for feedback.