Spock-lucid-0.4.0.1: Lucid support for Spock
Web.Spock.Lucid
Synopsis
lucid :: MonadIO m => Html a -> ActionCtxT cxt m b Source #
Render HTML and send as response body. Content-type will be text/html.
text/html
lucidIO :: MonadIO m => HtmlT IO a -> ActionCtxT cxt m b Source #
Like lucid, but for HtmlT IO.
lucid
HtmlT IO
lucidT :: MonadIO m => HtmlT m a -> ActionCtxT cxt m b Source #
Like lucid, but for arbitrary monads. Might require some additional boilerplate.