Created
May 27, 2012 10:35
-
-
Save scan/2803245 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 #-} | |
module Main where | |
import Happstack.Server | |
import Data.Text (Text) | |
main :: IO () | |
main = simpleHTTP nullConf $ ok ("{\"hello\": \"world\"}" :: Text) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment