[Haskell-cafe] Re: Strictness, order of IO operations: NewCGI HDBC

2006-10-22 Thread Tim Smith
Oleg, On 10/20/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Tim Smith wrote: Has anyone found out how to lift bracket into another monad? Yes, please see the thread `Re: Control.Exceptions and MonadIO' staring at http://www.haskell.org/pipermail/haskell-cafe/2006-April/015444.html

[Haskell-cafe] Re: Strictness, order of IO operations: NewCGI HDBC

2006-10-20 Thread Tim Smith
John, Café patrons, Thanks a lot for your detailed reply. Sorry it's taken me so long to respond, but I wanted to test some things out first. I've spent many a dark hour thinking about this, and now come crawling back to the café for some help. The folks on #haskell helped some, but eventually

[Haskell-cafe] Re: Strictness, order of IO operations: NewCGI HDBC

2006-10-09 Thread Tim Smith
Hello, Haskell Cafe. I posted a question a while ago about this, but didn't receive any responses. I'd like to try again. I've got a test case which uses John Goerzen's HDBC.ODBC. The problem I have is that it appears too lazy - using the results of a query after disconnecting causes an

[Haskell-cafe] Strictness, order of IO operations: NewCGI HDBC

2006-08-10 Thread Tim Smith
Hello! I'm having a problem with using NewCGI HDBC together. NewCGI: http://www.cs.chalmers.se/~bringert/darcs/haskell-cgi/doc/ HDBC: http://quux.org/devel/hdbc http://darcs.complete.org/hdbc/ I've distilled it down to a small test case: \begin{code} module Main where import Data.List