HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduleservant-lucid-0.9.0.6Haskell2010

Servant.HTML.Lucid

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.:

Example1 expression
type Eg = Get '[HTML] a

Will then check that a has a ToHtml instance, or is Html.

  • 1 type
datadata HTML
#
Instances2Accept, MimeRender
  • Accept HTMLDefined in servant-lucid-0.9.0.6 · Servant.HTML.Lucid
    text/html;charset=utf-8
  • ToHtml a => MimeRender HTML aDefined in servant-lucid-0.9.0.6 · Servant.HTML.Lucid