n3paste.de

::

a haskell happstack pastebin

  • New paste
  • View pastes

  • Login

  • About
  • Most recent pastes (filtered)

    Filter pastes (help):

    14:59 - Tue 2012.02.07

    Plaintext

    Paste: /r7y5/Show related

    No description.

    {-# LANGUAGE OverloadedStrings #-}
    
    import Snap
    
    main :: IO ()
    main = quickHttpServe $ do
      route [ ("foo", writeBS "Foo!")
            , ("bar", writeBS "Bar!") ]