packages feed

xml-enumerator 0.4.3.1 → 0.4.3.2

raw patch · 2 files changed

+5/−5 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Text/XML/Stream/Parse.hs view
@@ -16,8 +16,8 @@ -- Then this code:
 --
 -- > {-# LANGUAGE OverloadedStrings #-}
--- > import Text.XML.Enumerator.Parse
--- > import Data.Text.Lazy (Text, unpack)
+-- > import Text.XML.Stream.Parse
+-- > import Data.Text (Text, unpack)
 -- > 
 -- > data Person = Person { age :: Int, name :: Text }
 -- >     deriving Show
@@ -28,7 +28,7 @@ -- > 
 -- > parsePeople = tagNoAttr "people" $ many parsePerson
 -- > 
--- > main = parseFile_ "people.xml" decodeEntities $ force "people required" parsePeople
+-- > main = parseFile_ def "people.xml" $ force "people required" parsePeople
 --
 -- will produce:
 --
xml-enumerator.cabal view
@@ -1,5 +1,5 @@ name:            xml-enumerator
-version:         0.4.3.1
+version:         0.4.3.2
 license:         BSD3
 license-file:    LICENSE
 author:          Michael Snoyman <michaels@suite-sol.com>, Aristid Breitkreuz <aristidb@googlemail.com>
@@ -18,7 +18,7 @@     .
     * Text.XML.Stream.Render: Streaming renderer.
     .
-    Additionally, the xml-hamlet package <http://hackage.haskell.org/package/xml-hamlet> provides a more convenient syntax for creating XML documents.
+    Additionally, the xml-hamlet package <http://hackage.haskell.org/package/xml-hamlet> provides a more convenient syntax for creating XML documents. For a more thorough tutorial on this library, please see <http://www.yesodweb.com/book/xml-enumerator>.
 category:        XML, Enumerator
 stability:       Stable
 cabal-version:   >= 1.8