Skip to content

Instantly share code, notes, and snippets.

@hajimehoshi
hajimehoshi / Main.hs
Created September 20, 2011 03:25
Simple Web App in Haskell
import Blaze.ByteString.Builder (fromByteString)
import Data.CaseInsensitive (mk)
import qualified Data.ByteString.Char8 as C8
import qualified Data.ByteString.UTF8 as U8
import Network.HTTP.Types
import Network.Wai
import Network.Wai.Handler.Warp (run)
myApp :: Application
myApp _ = do
@athos
athos / deps.edn
Last active June 2, 2024 08:57
Try on your terminal `clojure -Sdeps '{:deps {hello-clojure/hello-clojure {:git/url "https://gist.github.com/athos/b68b15b08efedffaf14d8c020b125202" :git/sha "099bdf7d565b2c35c1df601abf58514cc5276237"}}}' -M -m hello-clojure`
{:paths ["."]
:deps {clansi/clansi {:mvn/version "1.0.0"}}}