| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Servant.HTML.Lucid
Description
An HTML empty data type with MimeRender instances for lucid's
ToHtml class and Html datatype.
You should only need to import this module for it's instances and the
HTML datatype.:
>>>type Eg = Get '[HTML] a
Will then check that a has a ToHtml instance, or is Html.
Documentation
Instances
| Accept HTML Source # | text/html;charset=utf-8 |
Defined in Servant.HTML.Lucid | |
| ToHtml a => MimeRender HTML a Source # | |
Defined in Servant.HTML.Lucid Methods mimeRender :: Proxy HTML -> a -> ByteString # | |