[Haskell-cafe] cgi liftM liftIO

Gwern Branwen gwern0 at gmail.com
Sat Jun 14 02:12:04 EDT 2008


On 2008.06.14 08:05:48 +0200, Adrian Neumann <aneumann at inf.fu-berlin.de> 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_uploads
>
> (Why did I need to use google to find that? The wiki search in awful.
> Searching for CGI returns nothing, whereas with google the above is the
> first hit.)

IIRC, MediaWiki search will not search for anything shorter than 4 characters (as an optimization, I think). This is admittedly annoying when you are searching not for 'the' but 'IRC' or 'CGI'...

--
gwern
William Gap subversives Lexis-Nexis SADMS Blowpipe GRU Posse ISCS mailbomb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20080614/c2215f65/attachment.bin


More information about the Haskell-Cafe mailing list