CGI m a is an instance of MonadIO if m is, so

import Control.Monad.Trans

cgiTMain = do
   gen <- liftIO getStdGen
   ...

should work.
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to