BSD-3-Clause licensed by Daniel YU
Maintained by Daniel YU
This version can be pinned in stack with:yam-0.5.13@sha256:16644b25fa13ffe3adba5f5e397c890a22f65787aac81b180856c4f18a4a44cb,5639

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