On Thu, Nov 23, 2006 at 10:13:25PM +0100, Udo Stenzel wrote:
> [EMAIL PROTECTED] wrote:
> > >>         (lo, hi) <- getBounds buf
> > > 
> > > to
> > > 
> > >           let (lo,hi) = bounds buf
> > 
> > The interface changed between GHC 6.4.2 and 6.6.
> > But no honorable Haskell paladin would ever dare to use UndeadArrays.
> 
> Hm, and 'bounds' is simply gone?  Hope that doesn't bite in an
> unexpected way.

bounds is only gone for mutable arrays. Since they might change size
you need to use the monad to get at their bounds.  'bounds' still exists
with the same interface for immutable arrays.

-- 
John Meacham - ⑆repetae.net⑆john⑈
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to