> When I remove the "scoresPassed <- sqlReaderIO" line, the code run
> smoothly. Nothing else references "scoresPassed". The ghc, however,
> gives me this error when the line is included:

I'm not 100% sure, but what if you put a liftM or liftIO in somewhere?

> (liftM output) . renderHtml $ ...

I think the problem is including that changes cgiTMain to executing
in/under another monad; if you specify your types explicitly, it'll help
you avoid the changing types problems.

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to