#!/home/janweb/www/hugs/bin/runhugs +l
-- Hey, Emacs, this is -*- haskell -*-
-- A simple demo Erik Meijer ([email protected])
module Main (main) where
import CGI
helloWorldText :: [(Name,Value)] -> TextPlain
helloWorldText env = TextPlain "Hello World!"
main :: IO ()
main = wrapper (\env -> return (Content{mime = helloWorldText env,
cookies = [] }))