[commit: base] master: Fix fromRat' and fromRat'' (2ff889f)

Daniel Fischer daniel.is.fischer at googlemail.com
Tue Oct 4 21:27:59 CEST 2011


On Tuesday 04 October 2011, 21:10:57, Ian Lynagh wrote:
> On Tue, Oct 04, 2011 at 11:21:44AM -0700, Daniel Fischer wrote:
> >     fromRat' no longer uses scaleRat, if we're confident nobody uses
> >     that, we could remove it.
> >  
> >  -- Scale x until xMin <= x < xMax, or p (the exponent) <= minExp.
> >  scaleRat :: Rational -> Int -> Rational -> Rational -> Int ->
> >  Rational -> (Rational, Int)
> 
> Removing it sounds reasonable, if GHC builds without it.

Builds and validates. a google search on hackage turned up no users either.



More information about the Cvs-libraries mailing list