Skip to content
This repository

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

liskin opened this Issue November 25, 2011 · 2 comments

2 participants

Tomáš Janoušek Bryan O'Sullivan
Tomáš Janoušek

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

Tomáš Janoušek

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

Bryan O'Sullivan
bos commented January 13, 2012

Fixed in

Bryan O'Sullivan bos closed this January 13, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.