[Haskell] RE: Hugs/GHC incompatibility

Wolfgang Jeltsch wolfgang at jeltsch.net
Tue Feb 3 19:01:00 EST 2004


Am Dienstag, 3. Februar 2004 18:17 schrieb Simon Peyton-Jones:
> > I think, I've found the problem. GHC seems to not implement
> > Data.Array.array correctly. The implementation doesn't adhere to the
> > following sentence from the Data.Array.IArray.array documentation: If any
> > two associations in the list have the same index, the value at that index
> > is undefined.
> >
> > Could this be fixed?

> [...]

> We don't intend to fix this because fixing it will have a significant
> overhead on every array construction.

Sorry, but I don't see where the overhead should come from.

> [...]

> Simon

Wolfgang



More information about the Haskell mailing list