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

Ross Paterson ross at soi.city.ac.uk
Tue Apr 12 08:26:33 EDT 2005


On Mon, Apr 04, 2005 at 05:16:45AM -0700, Simon Peyton Jones wrote:
> simonpj     2005/04/04 05:16:45 PDT
> 
>   Modified files:
>     libraries/base/GHC   Arr.lhs 
>   Log:
>   Default method for unsafeRangeSize should use unsafeIndex!

Hmm.  When unsafeRangeSize was made a method (ghc/lib/std/PrelArr.lhs
rev. 1.29), this seems to have been deliberately avoided, with the
definition using unsafeIndex in all the instances.  I wonder why.


More information about the Cvs-libraries mailing list