Network.CGI changes

Johannes Waldmann waldmann at imn.htwk-leipzig.de
Mon Jan 21 03:50:46 EST 2008


If you need the old "wrapper" function, then use something like this:

wrapper :: ([(String,String)] -> IO Html) -> IO ()
wrapper f = runCGI $ do

    e <- getInputs
    a <- lift $ f $ e
    output $ renderHtml a

best regards, Johannes Waldmann.



More information about the Glasgow-haskell-users mailing list