
14 Jun
2008
14 Jun
'08
2:12 a.m.
On 2008.06.14 08:05:48 +0200, Adrian Neumann
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