Name : ghc-scotty
| |
Version : 0.11.0
| Vendor : openSUSE
|
Release : bp150.1.3
| Date : 2018-07-30 21:14:36
|
Group : Development/Libraries/Haskell
| Source RPM : ghc-scotty-0.11.0-bp150.1.3.src.rpm
|
Size : 0.57 MB
| |
Packager : https://bugs_opensuse_org
| |
Summary : 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
import Data.Monoid (mconcat)
main = scotty 3000 $ do get "/:word" $ do beam < - param "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>.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/openSUSE:/Backports:/SLE-15/standard/x86_64 |