blazeT 0.0.4 → 0.0.5
raw patch · 2 files changed
+22/−6 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- blazeT.cabal +1/−1
- src/Text/BlazeT/Internal.hs +21/−5
blazeT.cabal view
@@ -1,5 +1,5 @@ Name: blazeT-Version: 0.0.4+Version: 0.0.5 Homepage: Bug-Reports: http://github.com/johannesgerer/blazeT/issues License: MIT
src/Text/BlazeT/Internal.hs view
@@ -63,11 +63,11 @@ , unsafeLazyByteString -- ** Comments- , Text.Blaze.textComment- , Text.Blaze.lazyTextComment- , Text.Blaze.stringComment- , Text.Blaze.unsafeByteStringComment- , Text.Blaze.unsafeLazyByteStringComment+ , textComment+ , lazyTextComment+ , stringComment+ , unsafeByteStringComment+ , unsafeLazyByteStringComment -- ** Converting values to tags. , Text.Blaze.textTag@@ -272,6 +272,22 @@ lazyText :: LT.Text -> Markup lazyText = wrapMarkup . Text.Blaze.lazyText {-# INLINE lazyText #-}+++textComment :: T.Text -> Markup+textComment = wrapMarkup . Text.Blaze.textComment++lazyTextComment :: LT.Text -> Markup+lazyTextComment = wrapMarkup . Text.Blaze.lazyTextComment++stringComment :: String -> Markup+stringComment = wrapMarkup . Text.Blaze.stringComment++unsafeByteStringComment :: BS.ByteString -> Markup+unsafeByteStringComment = wrapMarkup . Text.Blaze.unsafeByteStringComment++unsafeLazyByteStringComment :: BL.ByteString -> Markup+unsafeLazyByteStringComment = wrapMarkup . Text.Blaze.unsafeLazyByteStringComment -- $descr1 -- The following is an adaptation of all "Text.Blaze.Internal" exports to