cvs commit: fptools/ghc/lib/std PrelReal.lhs

Simon Marlow simonmar@glass.cse.ogi.edu
Tue, 28 Aug 2001 08:36:52 -0700


simonmar    2001/08/28 08:36:52 PDT

  Modified files:
    ghc/lib/std          PrelReal.lhs 
  Log:
  Change the definition of recip in the instance of Fractional for
  Ratio, to:
  
  	recip (x:%y)	=  y % x
  
  as per the revised Haskell 98 report.
  
  Revision  Changes    Path
  1.14      +2 -2      fptools/ghc/lib/std/PrelReal.lhs