Created
July 6, 2013 02:27
-
-
Save amothic/5938383 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE OverloadedStrings #-} | |
import Network.Wai | |
import Network.HTTP.Types (status200) | |
import Network.Wai.Handler.Warp (run) | |
application _ = return $ | |
responseLBS status200 [("Content-Type", "text/plain")] "Hello World" | |
main = run 3000 application |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment