We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aff453f commit b8d9af7Copy full SHA for b8d9af7
src/Text/XML/DOM/Parser/Content.hs
@@ -20,6 +20,7 @@ import Data.List as L
20
import Data.Monoid
21
import Data.Text as T
22
import Data.Typeable
23
+import Prelude as P
24
import Text.Read
25
import Text.XML.DOM.Parser.Types
26
import Text.XML.Lens
@@ -93,7 +94,7 @@ maybeReadContent
93
94
maybeReadContent f t = maybe (Left msg) Right $ f t
95
where
96
msg = "Not readable " <> n <> ": " <> t
- n = T.pack $ show $ typeRep (Proxy :: Proxy a)
97
+ n = T.pack $ P.show $ typeRep (Proxy :: Proxy a)
98
99
100
-- | Tries to read given text to value using 'Read'. Useful to use
0 commit comments