Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Data.Text.Read: rational to Rational goes through Double #13

liskin opened this Issue Nov 25, 2011 · 2 comments


None yet
2 participants

liskin commented Nov 25, 2011

Why is rational :: RealFloat a => Reader a instead of Fractional? This way, using rational in Rational context involves a conversion through Double.

liskin commented Nov 25, 2011

(And I need to explicitly convert it to Rational, as it's not an instance of RealFloat.)


bos commented Jan 13, 2012

Fixed in

@bos bos closed this Jan 13, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment