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-blaze-0.9.1Haskell2010

Servant.HTML.Blaze

An HTML empty data type with MimeRender instances for blaze-html's ToMarkup class and Html datatype. You should only need to import this module for its instances and the HTML datatype:

Example1 expression
type Eg = Get '[HTML] a

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

  • 1 type
datadata HTML
#
Instances2Accept, MimeRender
  • Accept HTMLDefined in servant-blaze-0.9.1 · Servant.HTML.Blaze
    text/html;charset=utf-8
  • ToMarkup a => MimeRender HTML aDefined in servant-blaze-0.9.1 · Servant.HTML.Blaze