git.iko.soy/typeable/dom-parser
on master help sign in
Merge pull request #3 from typeable/scientific

Missing Scientific instance

commit307c8f8b04af200ab329af0b2853bf7c8f4f89ac authorVladislav Zavialov <vlad.z.4096@gmail.com> dateTue 27 Dec 2016, 20:38 (10 years ago) parent9289a1c1bdc16c
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