git.iko.soy/typeable/dom-parser
on master help sign in
4 files changed+4−6
since splitsnapshots
unifiedsplit
dom-parser.cabal+2−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
dom-parser.cabal+2−3
@@ -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
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)