The latest version of scotty is 0.22-2.

scotty

Version 0.22 revision 1 uploaded by ocramz.

Package meta

Synopsis
Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp
Description

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 <- pathParam "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
Author
Andrew Farmer <xichekolas@gmail.com>
Bug reports
https://github.com/scotty-web/scotty/issues
Category
Web
Copyright
(c) 2012-Present, Andrew Farmer and the Scotty contributors
Homepage
https://github.com/scotty-web/scotty
Maintainer
The Scotty maintainers
Package URL
n/a
Stability
experimental

Components