package name | version |
---|---|
yam | |
yam-datasource |
Servant based Web Wrapper for Production in Haskell.
import qualified Data.Salak as S
import Servant
import Yam
type API = "hello" :> Get '[PlainText] Text
service :: ServerT API App
service = return "world"
main = start S.empty [] (Proxy :: Proxy API) service