Created
November 3, 2014 23:02
-
-
Save codedmart/7a35a56cb4e2050fc8a5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
instance ToDatum (Ratio Integer) where | |
toDatum a = toDatum (parseRational a) | |
parseRational :: Rational -> Double | |
parseRational = fromRational |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment