HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

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.

Synopsis
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