Data.Array.MArray "lost" bounds

Duncan Coutts duncan.coutts at
Wed Oct 18 06:04:14 EDT 2006

On Wed, 2006-10-18 at 11:31 +0200, Andreas Marth wrote:
> With ghc-6.6 there is a change in module Data.Array.MArray which now
> includes a function
> getBounds :: (MArray a e m, Ix i) => a i e -> m (i,i) but it misses the good
> old
> bounds [which had type bounds :: (HasBounds a, Ix i) => aie -> (i,i)].
> What is the rational behind this change?
> Are MArrays now able to change there size?

Yes, that's exactly it.


More information about the Glasgow-haskell-users mailing list