Re: Data.Array.MArray "lost" bounds

2006-10-18 Thread Bulat Ziganshin
Hello Andreas, Wednesday, October 18, 2006, 1:31:28 PM, you wrote: > 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 cha

Re: Data.Array.MArray "lost" bounds

2006-10-18 Thread Duncan Coutts
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 ->

Data.Array.MArray "lost" bounds

2006-10-18 Thread Andreas Marth
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 a