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

Module documentation for 0.5.17

This version can be pinned in stack with:yam-0.5.17@sha256:b5bd2c12372af9689f82a88641394df060241531e1fcadc1eae4d4670c4563d0,5675

yam

Servant based Web Wrapper for Production in Haskell.


import qualified Data.Salak                     as S
import           Yam

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

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

main = start S.empty [] (Proxy :: Proxy API) service


comments powered byDisqus