]> git.immae.eu Git - github/fretlink/blazeT.git/blob - src/Text/BlazeT/Html.hs
Docs
[github/fretlink/blazeT.git] / src / Text / BlazeT / Html.hs
1 {-# LANGUAGE RankNTypes #-}
2 module Text.BlazeT.Html
3 (
4 module Text.BlazeT
5 -- * Entities exported only by the @blazeT@ version of this module
6 ,HtmlM
7 ,HtmlT
8 -- * Entities exported also by "Text.Blaze.Html"
9 -- $descr1
10 , Html
11 , toHtml
12 , preEscapedToHtml
13 ) where
14
15 import Text.BlazeT
16
17 type HtmlT = MarkupT
18 type HtmlM a = MarkupM a
19 type Html = Markup
20
21 toHtml ::(ToMarkup a) => a -> Html
22 toHtml = toMarkup
23
24 preEscapedToHtml ::(ToMarkup a) => a -> Html
25 preEscapedToHtml = preEscapedToMarkup
26
27 -- $descr1 The following is an adaptation of all "Text.Blaze.Html"
28 -- exports to @blazeT@ types. For their documentation consult the
29 -- "Text.Blaze.Html" documentation.