cvs commit: hugs98/libraries/Hugs Prelude.hs

ross@glass.cse.ogi.edu ross@glass.cse.ogi.edu
Thu, 24 Oct 2002 17:31:25 -0700


ross        2002/10/24 17:31:25 PDT

  Modified files:
    libraries/Hugs       Prelude.hs 
  Log:
  More H98-compliant Enum instances for Float, Double and Ratio, by adding
  succ and pred, and copying fromEnum from the Report (so it gives a
  runtime error for out-of-range values).
  
  Ratio still doesn't have H98's quirky termination condition.
  
  Revision  Changes    Path
  1.9       +9 -3      hugs98/libraries/Hugs/Prelude.hs