BSD-3-Clause licensed by Daniel YU
Maintained by Daniel YU
This version can be pinned in stack with:yam-0.5.16@sha256:221044cb0bede068703adc0a32ce11b4d104d3d06d210ab88e5d629113039f55,5673

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