aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Text/BlazeT/Html.hs
diff options
context:
space:
mode:
authorJohannes Gerer <oss@johannesgerer.com>2016-10-27 02:18:13 +0200
committerJohannes Gerer <oss@johannesgerer.com>2016-10-27 02:18:13 +0200
commit95eb4d6a041305a27dc8fcd42ff1831d9961b7a3 (patch)
tree3433db574dc8d074354ae70232d29a9cb81ba136 /src/Text/BlazeT/Html.hs
parent675085c2e0b0b851378da08b7d73024766107c87 (diff)
downloadblazeT-95eb4d6a041305a27dc8fcd42ff1831d9961b7a3.tar.gz
blazeT-95eb4d6a041305a27dc8fcd42ff1831d9961b7a3.tar.zst
blazeT-95eb4d6a041305a27dc8fcd42ff1831d9961b7a3.zip
Docsv0.0.1
Diffstat (limited to 'src/Text/BlazeT/Html.hs')
-rw-r--r--src/Text/BlazeT/Html.hs17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/Text/BlazeT/Html.hs b/src/Text/BlazeT/Html.hs
index 4a21c03..d71e90a 100644
--- a/src/Text/BlazeT/Html.hs
+++ b/src/Text/BlazeT/Html.hs
@@ -1,18 +1,21 @@
1{-# LANGUAGE RankNTypes #-} 1{-# LANGUAGE RankNTypes #-}
2module Text.BlazeT.Html 2module Text.BlazeT.Html
3 ( module Text.BlazeT 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
4 , Html 10 , Html
5 , toHtml 11 , toHtml
6 , preEscapedToHtml 12 , preEscapedToHtml
7 -- * BlazeT new stuff
8 ,HtmlM
9 ,HtmlT
10 ) where 13 ) where
11 14
12import Text.BlazeT 15import Text.BlazeT
13 16
14type HtmlT = MarkupT 17type HtmlT = MarkupT
15type HtmlM = MarkupM 18type HtmlM a = MarkupM a
16type Html = Markup 19type Html = Markup
17 20
18toHtml ::(ToMarkup a) => a -> Html 21toHtml ::(ToMarkup a) => a -> Html
@@ -20,3 +23,7 @@ toHtml = toMarkup
20 23
21preEscapedToHtml ::(ToMarkup a) => a -> Html 24preEscapedToHtml ::(ToMarkup a) => a -> Html
22preEscapedToHtml = preEscapedToMarkup 25preEscapedToHtml = 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.