git.iko.soy/typeable/dom-parser
on master help sign in
CHANGELOG.md+7
since splitsnapshots
unifiedsplit
@@ -2,9 +2,16 @@
2
2
3## HEAD
3## HEAD
4
4
5+## 3.2.0
6+
5### Added
7### Added
6
8
7* Text.XML.Soap module with XmlEnvelope stuff in it.
9* Text.XML.Soap module with XmlEnvelope stuff in it.
10+* GHC 9 compatibility.
11+
12+### Removed
13+
14+* Old stackage files.
8
15
9## 3.1.0
16## 3.1.0
10
17
dom-parser.cabal+3−4
@@ -1,5 +1,5 @@
1name: dom-parser
1name: dom-parser
2−version: 3.1.0
2+version: 3.2.0
3synopsis: Simple monadic DOM parser
3synopsis: Simple monadic DOM parser
4license: MIT
4license: MIT
5license-file: LICENSE
5license-file: LICENSE
@@ -44,13 +44,12 @@ library
44 , TypeFamilies
44 , TypeFamilies
45 , TypeOperators
45 , TypeOperators
46 , UndecidableInstances
46 , UndecidableInstances
47− build-depends: base >= 4.7 && < 5
47+ build-depends: base >= 4.11 && < 5
48 , case-insensitive
48 , case-insensitive
49 , containers
49 , containers
50 , lens
50 , lens
51− , mtl
51+ , mtl < 2.3 || > 2.3
52 , scientific
52 , scientific
53− , semigroups
54 , text
53 , text
55 , transformers
54 , transformers
56 , xml-conduit
55 , 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 @@
1resolver: lts-22.6
1resolver: lts-22.6
2
2
3extra-deps:
3extra-deps:
4−# - xml-conduit-writer-0.1.1.4
4+ - xml-conduit-writer-0.1.1.5
5− - git: https://github.com/typeable/xml-conduit-writer.git
6− commit: fd202f1749e1ed28fbd9143f49c3c01ab6ef563d
7
5
8nix:
6nix:
9 packages: [zlib]
7 packages: [zlib]
src/Text/XML/DOM/Parser/Combinators.hs−1
@@ -22,7 +22,6 @@ import Control.Monad.Reader
22import Data.Foldable as F
22import Data.Foldable as F
23import Data.List as L
23import Data.List as L
24import Data.List.NonEmpty (NonEmpty(..))
24import Data.List.NonEmpty (NonEmpty(..))
25−import Data.Monoid
26import Data.Text as T
25import Data.Text as T
27import Data.Traversable
26import Data.Traversable
28import Text.XML
27import Text.XML
src/Text/XML/DOM/Parser/Content.hs+2−1
@@ -20,6 +20,7 @@ import Data.List as L
20import Data.Monoid
20import Data.Monoid
21import Data.Text as T
21import Data.Text as T
22import Data.Typeable
22import Data.Typeable
23+import Prelude as P
23import Text.Read
24import Text.Read
24import Text.XML.DOM.Parser.Types
25import Text.XML.DOM.Parser.Types
25import Text.XML.Lens
26import Text.XML.Lens
@@ -93,7 +94,7 @@ maybeReadContent
93maybeReadContent f t = maybe (Left msg) Right $ f t
94maybeReadContent f t = maybe (Left msg) Right $ f t
94 where
95 where
95 msg = "Not readable " <> n <> ": " <> t
96 msg = "Not readable " <> n <> ": " <> t
96− n = T.pack $ show $ typeRep (Proxy :: Proxy a)
97+ n = T.pack $ P.show $ typeRep (Proxy :: Proxy a)
97
98
98
99
99-- | Tries to read given text to value using 'Read'. Useful to use
100-- | 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
36import Control.Monad.Except
36import Control.Monad.Except
37import Control.Monad.Reader
37import Control.Monad.Reader
38import Data.CaseInsensitive as CI
38import Data.CaseInsensitive as CI
39−import Data.Semigroup
40import Data.String
39import Data.String
41import Data.Text as T
40import Data.Text as T
42import GHC.Generics (Generic)
41import GHC.Generics (Generic)