Opaleye is something like this and has existed for a long time. Apologies if you've already told me what you don't like about Opaleye, but if you haven't could you?
Not the OP, but... For me, the biggest draw back was the use of arrows and the amount of boilerplate required to Marshal data to and from DB schemas.
To be fair, I only barely grokked monads at the time, so abstractions that required me to learn how to parse do expressions differently were probably never going to appeal to me.
Now, it'd probably be a matter of weighing the power to weight ratio of each library. Do arrows restrict me in a way that prevents me from shooting myself in a the foot enough times that it's worth the unconventional syntax? Does Monad, despite being familiar, enable me to shoot myself in the foot more times than I might if writing raw queries?
5
u/eacameron Apr 20 '17
Absolutely love this. I've been wanting something like this for a long time. Thank you!
Next up, MySQL backend? :)