scotty-0.20.1: Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp

# scotty-0.20.1: Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp

A Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp.

    {-# LANGUAGE OverloadedStrings #-}

    import Web.Scotty

    main = scotty 3000 $
      get "/:word" $ do
        beam <- captureParam "word"
        html $ mconcat ["<h1>Scotty, ", beam, " me up!</h1>"]

Scotty is the cheap and cheerful way to write RESTful, declarative web applications.

- A page is as simple as defining the verb, url pattern, and Text content.
- It is template-language agnostic. Anything that returns a Text value will do.
- Conforms to WAI Application interface.
- Uses very fast Warp webserver by default.

As for the name: Sinatra + Warp = Scotty.

WAI
  http://hackage.haskell.org/package/wai
Warp
  http://hackage.haskell.org/package/warp

Modules

scotty-0.20.1

- Web
  Submodules
  - Web.Scotty
    Submodules
    - Web.Scotty.Cookie
    - Internal
      Submodules
      - Web.Scotty.Internal.Types
    - Web.Scotty.Trans