On 02-May-2001, Matt Harden <[EMAIL PROTECTED]> wrote:
> Matt Harden wrote:
>
> > blah, blah, blah, bug in the Library Report, blah, blah...
>
> OK, so I failed to read the Library Report. It clearly states:
>
> > An implementation is entitled to assume the following laws about these operation
Matt Harden wrote:
> blah, blah, blah, bug in the Library Report, blah, blah...
OK, so I failed to read the Library Report. It clearly states:
> An implementation is entitled to assume the following laws about these operations:
>
> range (l,u) !! index (l,u) i == i -- when i is in
Sorry if this has been reported before.
I shouldn't be able to crash ghc or hugs without using any "unsafe"
features, right? Well, here 'tis:
> module CrashArray where
>
> import Array
> import Ix
>
> newtype CrashIx = CrashIx Int deriving (Ord, Eq, Show)
>
> instance Enum CrashIx where
>