aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Text/BlazeT/Html.hs
diff options
context:
space:
mode:
authorJohannes Gerer <oss@johannesgerer.com>2016-10-26 02:07:02 +0200
committerJohannes Gerer <oss@johannesgerer.com>2016-10-26 02:07:02 +0200
commit675085c2e0b0b851378da08b7d73024766107c87 (patch)
tree5a927de4a9576aef7e6129b96e74aa5c96f9ffb6 /src/Text/BlazeT/Html.hs
downloadblazeT-675085c2e0b0b851378da08b7d73024766107c87.tar.gz
blazeT-675085c2e0b0b851378da08b7d73024766107c87.tar.zst
blazeT-675085c2e0b0b851378da08b7d73024766107c87.zip
Initial
Diffstat (limited to 'src/Text/BlazeT/Html.hs')
-rw-r--r--src/Text/BlazeT/Html.hs22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/Text/BlazeT/Html.hs b/src/Text/BlazeT/Html.hs
new file mode 100644
index 0000000..4a21c03
--- /dev/null
+++ b/src/Text/BlazeT/Html.hs
@@ -0,0 +1,22 @@
1{-# LANGUAGE RankNTypes #-}
2module Text.BlazeT.Html
3 ( module Text.BlazeT
4 , Html
5 , toHtml
6 , preEscapedToHtml
7 -- * BlazeT new stuff
8 ,HtmlM
9 ,HtmlT
10 ) where
11
12import Text.BlazeT
13
14type HtmlT = MarkupT
15type HtmlM = MarkupM
16type Html = Markup
17
18toHtml ::(ToMarkup a) => a -> Html
19toHtml = toMarkup
20
21preEscapedToHtml ::(ToMarkup a) => a -> Html
22preEscapedToHtml = preEscapedToMarkup