cvs commit: fptools/libraries/base/GHC Arr.lhs
Ross Paterson
ross at soi.city.ac.uk
Wed Apr 13 12:02:12 EDT 2005
On Wed, Apr 13, 2005 at 12:08:47PM +0100, Simon Marlow wrote:
> It depends on where rangeSize is used; if we used unsafeRangeSize
> instead of rangeSize, then we'd get different results. But as far as I
> can tell, unsafeRangeSize is only used in some definitions of
> unsafeIndex (eg. instance Ix (a,b)), so in fact it's probably safe.
>
> Perhaps unsafeRangeSize shouldn't be a method?
There doesn't seem to be any reason for it to be one.
More information about the Cvs-libraries
mailing list