Included webkit sample

This commit is contained in:
Michael Snoyman 2012-01-19 12:29:58 +02:00
parent d3a16c8f65
commit 29d2aaaf60

View File

@ -0,0 +1,10 @@
{-# LANGUAGE OverloadedStrings #-}
import Network.Wai
import Network.Wai.Handler.Webkit
import Network.HTTP.Types
main :: IO ()
main = run "Sample App" app
app :: Application
app _ = return $ responseLBS status200 [("Content-Type", "text/html")] "<h1>Hello World!</h1>"