
19 Nov
2008
19 Nov
'08
12:11 p.m.
On Tue, Nov 18, 2008 at 6:23 PM, Warren Harris
I am working on a query language translator, and although I feel that a monadic formulation would work well for this application, I've stumbled on a number of questions and difficulties that I thought the knowledgeable people here might be able to help me with.
HaskellDB takes a similar approach. It's "Query" monad allows you to build queries which are then translated to SQL by a "runQuery" function. Could your bind operation collect the 'input' expressions and then output them all at once via a "runTranslation" function? Do you have to do in-place translation? Justin