Skip to content
This repository has been archived by the owner. It is now read-only.
Production Haskell in writing Web Service
Haskell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example
yam-datasource
yam-redis
yam
.gitignore
.release
.stylish-haskell.yaml
.travis.yml
README.md
cabal.project
common.yaml
stack.yaml
yam_test.yaml

README.md

Archived due to 鬼谷子

package name version
yam Hackage
yam-datasource Hackage
yam-redis Hackage

stackage LTS package stackage Nightly package Build Status

Servant based Web Wrapper for Production in Haskell.

import           Salak.Yaml
import           Servant
import           Yam
import           Data.Version

type API = "hello" :> Get '[PlainText] Text

service :: ServerT API AppSimple
service = return "world"

main = start "app" YAML (makeVersion []) (return emptyAM) (Proxy @API) (return service)
You can’t perform that action at this time.