BSD-3-Clause licensed by Daniel YU
Maintained by Daniel YU
This version can be pinned in stack with:yam-0.5.11@sha256:a5a24a0265cf15ab67c7389a9087a1ce810e5bf8f3673df1436f2c2a15469a06,5511

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