aboutsummaryrefslogblamecommitdiffhomepage
path: root/src/Text/BlazeT/Renderer/String.hs
blob: 45c4786a774b04f7a5f697d3fa9c9e005f11b07c (plain) (tree)
1
2
3
4
5
6
7
                           



                                  

         







                                                           
                                           


                                 
 
{-# LANGUAGE RankNTypes #-}
module Text.BlazeT.Renderer.String
    ( fromChoiceString
    , renderMarkup
    , renderHtml
  ) where

import           Text.Blaze.Internal (ChoiceString)
import qualified Text.Blaze.Renderer.String as BU
import           Text.BlazeT

fromChoiceString :: ChoiceString -> String -> String       
fromChoiceString = BU.fromChoiceString

renderMarkup :: MarkupM a -> String
renderMarkup = BU.renderMarkup . execMarkup

renderHtml :: MarkupM a -> String
renderHtml = renderMarkup