BSD-3-Clause licensed by Daniel YU
Maintained by Daniel YU
This version can be pinned in stack with:yam-0.5.6@sha256:c660d3d2e1d81080a5ff6fe693240e092cbdac4a55deab1866bd75e34afe33fc,5482

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