cvs commit: fptools/libraries/base/GHC Arr.lhs

Simon Peyton Jones simonpj@glass.cse.ogi.edu
Mon, 1 Apr 2002 01:19:19 -0800


simonpj     2002/04/01 01:19:18 PST

  Modified files:
    libraries/base/GHC   Arr.lhs 
  Log:
  Remove Ix context from STArray data type.
  Data type contexts are evil.  H98 says they
  even apply for pattern matching, which GHC didn't
  implement till now --- and that forces Ix even on
  equality of STArrays. No, no, no.
  
  Revision  Changes    Path
  1.3       +4 -2      fptools/libraries/base/GHC/Arr.lhs