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