On 2008.06.14 08:05:48 +0200, Adrian Neumann <[EMAIL PROTECTED]> scribbled 4.0K
characters:
> I think you need to put liftIO in front of the IO actions you want to do
> inside the CGI Monad. Like in this example
>
> > http://www.haskell.org/haskellwiki/
> Practical_web_programming_in_Haskell#File_
I think you need to put liftIO in front of the IO actions you want to
do inside the CGI Monad. Like in this example
> http://www.haskell.org/haskellwiki/
Practical_web_programming_in_Haskell#File_uploads
(Why did I need to use google to find that? The wiki search in awful.
Searching for CG
Hi,
Could someone please care to explain what I am doing wrong below in cgiMain2
and how can I fix it?
./Main.hs:25:15:
No instance for (MonadCGI IO)
arising from a use of `output' at ./Main.hs:25:15-20
Possible fix: add an instance declaration for (MonadCGI IO)
In the first ar