Array interface refactoring

Bulat Ziganshin bulat.ziganshin at
Thu Feb 23 08:34:55 EST 2006

Hello John,

Thursday, February 23, 2006, 4:07:52 PM, you wrote:

JM> That is the plan. none of the current Array implementations will
JM> change, they will still be instances of both MArray and HasBounds. it is
JM> just that HasBounds will no longer be a superclass of MArray, however
JM> that doesn't affect performance in any appreciable way.

our plans are equal :)

JM> (and array
JM> operations pretty much always end up specialized anyway so all class
JM> overhead disapears.)

this depends. IArray/MArray interfaces currently contains only a few
operations and all other implemented in fixed manner, so you can't
omit any overheads

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at

More information about the Haskell-prime mailing list