@someodd SQL is a decent DSL by itself. It is quite a problem to make something even simpler than that while using it as a generation target. If you treat DB results as transport types, not the actual application data, then the only missing thing is compositionality. If you drop the pretense for multi-DB support then there's [postgresql-query](https://hackage.haskell.org/package/postgresql-query) package that gives you free-form SQL and a method to compose larger chunks out of the smaller.
@dpwiz Maybe I'll shop around for things like postgresql-query after v1 and I notice the project is getting significant enough attention. I think it definitely just serves as a lesson by example for the general #haskell community, though (and myself).