diff options
Diffstat (limited to 'src/Text/BlazeT/Html.hs')
-rw-r--r-- | src/Text/BlazeT/Html.hs | 22 |
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 #-} | ||
2 | module Text.BlazeT.Html | ||
3 | ( module Text.BlazeT | ||
4 | , Html | ||
5 | , toHtml | ||
6 | , preEscapedToHtml | ||
7 | -- * BlazeT new stuff | ||
8 | ,HtmlM | ||
9 | ,HtmlT | ||
10 | ) where | ||
11 | |||
12 | import Text.BlazeT | ||
13 | |||
14 | type HtmlT = MarkupT | ||
15 | type HtmlM = MarkupM | ||
16 | type Html = Markup | ||
17 | |||
18 | toHtml ::(ToMarkup a) => a -> Html | ||
19 | toHtml = toMarkup | ||
20 | |||
21 | preEscapedToHtml ::(ToMarkup a) => a -> Html | ||
22 | preEscapedToHtml = preEscapedToMarkup | ||