git.iko.soy/typeable/dom-parser
on ee576f1 help sign in
9 files changed+15−13
since splitsnapshots
unifiedsplit
CHANGELOG.md−7 dom-parser.cabal+4−3 ghc-802.yaml+3 ghc-822.yaml+1 ghc-841.yaml+1 ghc-963.yaml+3−1 src/Text/XML/DOM/Parser/Combinators.hs+1 src/Text/XML/DOM/Parser/Content.hs+1−2 src/Text/XML/DOM/Parser/Types.hs+1
CHANGELOG.md−7
@@ -2,16 +2,9 @@
22
33## HEAD
44
5−## 3.2.0
6−
75### Added
86
97* Text.XML.Soap module with XmlEnvelope stuff in it.
10−* GHC 9 compatibility.
11−
12−### Removed
13−
14−* Old stackage files.
158
169## 3.1.0
1710
dom-parser.cabal+4−3
@@ -1,5 +1,5 @@
11name: dom-parser
2−version: 3.2.0
2+version: 3.1.0
33synopsis: Simple monadic DOM parser
44license: MIT
55license-file: LICENSE
@@ -44,12 +44,13 @@ library
4444 , TypeFamilies
4545 , TypeOperators
4646 , UndecidableInstances
47− build-depends: base >= 4.11 && < 5
47+ build-depends: base >= 4.7 && < 5
4848 , case-insensitive
4949 , containers
5050 , lens
51− , mtl < 2.3 || > 2.3
51+ , mtl
5252 , scientific
53+ , semigroups
5354 , text
5455 , transformers
5556 , xml-conduit
ghc-802.yamlnew file+3
@@ -0,0 +1,3 @@
1+resolver: lts-9.0
2+packages:
3+ - .
ghc-822.yamlnew file+1
@@ -0,0 +1 @@
1+resolver: lts-10.0
ghc-841.yamlnew file+1
@@ -0,0 +1 @@
1+resolver: nightly-2018-03-16
ghc-963.yaml+3−1
@@ -1,7 +1,9 @@
11resolver: lts-22.6
22
33extra-deps:
4− - xml-conduit-writer-0.1.1.5
4+# - xml-conduit-writer-0.1.1.4
5+ - git: https://github.com/typeable/xml-conduit-writer.git
6+ commit: fd202f1749e1ed28fbd9143f49c3c01ab6ef563d
57
68nix:
79 packages: [zlib]
src/Text/XML/DOM/Parser/Combinators.hs+1
@@ -22,6 +22,7 @@ import Control.Monad.Reader
2222import Data.Foldable as F
2323import Data.List as L
2424import Data.List.NonEmpty (NonEmpty(..))
25+import Data.Monoid
2526import Data.Text as T
2627import Data.Traversable
2728import Text.XML
src/Text/XML/DOM/Parser/Content.hs+1−2
@@ -20,7 +20,6 @@ import Data.List as L
2020import Data.Monoid
2121import Data.Text as T
2222import Data.Typeable
23−import Prelude as P
2423import Text.Read
2524import Text.XML.DOM.Parser.Types
2625import Text.XML.Lens
@@ -94,7 +93,7 @@ maybeReadContent
9493maybeReadContent f t = maybe (Left msg) Right $ f t
9594 where
9695 msg = "Not readable " <> n <> ": " <> t
97− n = T.pack $ P.show $ typeRep (Proxy :: Proxy a)
96+ n = T.pack $ show $ typeRep (Proxy :: Proxy a)
9897
9998
10099-- | Tries to read given text to value using 'Read'. Useful to use
src/Text/XML/DOM/Parser/Types.hs+1
@@ -36,6 +36,7 @@ import Control.Lens
3636import Control.Monad.Except
3737import Control.Monad.Reader
3838import Data.CaseInsensitive as CI
39+import Data.Semigroup
3940import Data.String
4041import Data.Text as T
4142import GHC.Generics (Generic)