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