happstack- The haskell application server stack + code generation




webHSP :: MonadIO m => HSP XML -> m ResponseSource

Converts a HSP XML to a Happstack Response. Since HSP XML is the type returned by using literal HTML syntax with HSP, you can wrap up your HTML as webHSP $ html.../html to use it with Happstack.

webHSP' :: MonadIO m => Maybe XMLMetaData -> HSP XML -> m ResponseSource

webHSP with XMLMetaData