xml-conduit 1.1.0.6 → 1.1.0.7
raw patch · 2 files changed
+8/−1 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Text/XML.hs +7/−0
- xml-conduit.cabal +1/−1
Text/XML.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE OverloadedStrings #-}@@ -126,8 +127,10 @@ } deriving (Show, Eq, Typeable, Data) +#if MIN_VERSION_containers(0, 4, 2) instance NFData Document where rnf (Document a b c) = rnf a `seq` rnf b `seq` rnf c `seq` ()+#endif data Node = NodeElement Element@@ -136,11 +139,13 @@ | NodeComment Text deriving (Show, Eq, Ord, Typeable, Data) +#if MIN_VERSION_containers(0, 4, 2) instance NFData Node where rnf (NodeElement e) = rnf e `seq` () rnf (NodeInstruction i) = rnf i `seq` () rnf (NodeContent t) = rnf t `seq` () rnf (NodeComment t) = rnf t `seq` ()+#endif data Element = Element { elementName :: Name@@ -149,8 +154,10 @@ } deriving (Show, Eq, Ord, Typeable, Data) +#if MIN_VERSION_containers(0, 4, 2) instance NFData Element where rnf (Element a b c) = rnf a `seq` rnf b `seq` rnf c `seq` ()+#endif {- readFile :: FilePath -> ParseSettings -> IO (Either SomeException Document)
xml-conduit.cabal view
@@ -1,5 +1,5 @@ name: xml-conduit-version: 1.1.0.6+version: 1.1.0.7 license: BSD3 license-file: LICENSE author: Michael Snoyman <michaels@suite-sol.com>, Aristid Breitkreuz <aristidb@googlemail.com>