
23 Nov
2006
23 Nov
'06
5:11 p.m.
On Thu, Nov 23, 2006 at 10:13:25PM +0100, Udo Stenzel wrote:
apfelmus@quantentunnel.de 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⑈