Last active
November 30, 2018 20:54
-
-
Save Solonarv/326219068428c54598120eea949f571b to your computer and use it in GitHub Desktop.
Simple Hello World
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
#!/bin/env stack | |
-- stack script --resolver lts-12.16 --package scotty --install-ghc | |
{-# LANGUAGE OverloadedStrings #-} | |
import Web.Scotty | |
main = scotty 80 $ do | |
get "/" $ do | |
html $ "Hello World!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment