Name : ghc-scotty
| |
Version : 0.11.0
| Vendor : obs://build_opensuse_org/devel:languages:haskell
|
Release : 6.11
| Date : 2018-01-23 03:09:52
|
Group : Development/Languages/Other
| Source RPM : ghc-scotty-0.11.0-6.11.src.rpm
|
Size : 0.57 MB
| |
Packager : (none)
| |
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/devel:/languages:/haskell:/lts:/7/openSUSE_Leap_42.2/x86_64 |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
ghc-scotty
ghc-scotty(x86-64)
libHSscotty-0.11.0-1g3temspzblG8IYNdXow4i-ghc8.0.1.so()(64bit)
Requires :