Skip to content
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.

leptonyu/yam

Repository files navigation

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)

About

Production Haskell in writing Web Service

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published