Safe Haskell | None |
---|---|
Language | Haskell2010 |
Web.Spock.Lucid
- lucid :: MonadIO m => Html a -> ActionCtxT cxt m b
- lucidIO :: MonadIO m => HtmlT IO a -> ActionCtxT cxt m b
- lucidT :: MonadIO m => HtmlT m a -> ActionCtxT cxt m b
Documentation
lucid :: MonadIO m => Html a -> ActionCtxT cxt m b #
Render HTML and send as response body. Content-type will be text/html
.