BSD-3-Clause licensed by Daniel YU
Maintained by Daniel YU

Module documentation for 0.6.3

This version can be pinned in stack with:yam-0.6.3@sha256:45d01f69427a53201909894b5858bd520bc8ba61f277241d79309459c9289607,5867

yam

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)

comments powered byDisqus