git.iko.soy/typeable/dom-parser
on master help sign in
Missing Scientific instance
commit1bdc16c696dc86d338284f19b20447825a39efd7 authorDenis Redozubov <denis.redozubov@gmail.com> dateTue 27 Dec 2016, 18:01 (10 years ago) parentc45a809
1 file changed+3
src/Text/XML/DOM/Parser/Class.hs+3
src/Text/XML/DOM/Parser/Class.hs+3
@@ -73,6 +73,9 @@ instance FromDom Double where
7373instance (HasResolution a, Typeable a) => FromDom (Fixed a) where
7474 fromDom = fixedFromDom
7575
76+instance FromDom Scientific where
77+ fromDom = scientificFromDom
78+
7679instance FromDom Bool where
7780 fromDom = boolFromDom
7881