From: Bjorn B. <bj...@br...> - 2008-03-22 22:53:56
|
On Thu, Mar 20, 2008 at 12:42 AM, Justin Bailey <jgb...@gm...> wrote: > On Tue, Mar 18, 2008 at 10:52 AM, Bjorn Bringert <bj...@br...> wrote: > > Yes, this is a good idea. Does anyone have anything ready to go in a > > new release that they haven't pushed yet? Does the current darcs > > version build and work ok enough for the current users? > > Bjorn, > > You'll find attached a patch which adds the ability to recover field > information from a Query. I originally proposed the idea back in > January[1] - finally got a patch ready. I found a need for it when > generating SQL and other meta-data from queries - I needed to know the > types of each column in my query but couldn't get that out of the > Query monad easily. This patch does it. > > It also patches the cabal file so the library is compiled with -O2 > under GHC and gives a homepage so a link will show up on the hackage > page. > > Justin Thanks! I have pushed this now. /Björn |