heap and walking through a very long list
Mon, 26 Nov 2001 00:51:40 -0800
You can do it specifically for GHC, not not in standard Haskell (except
To see how to do it in GHC, look at the implementation in the source
which is online (check the "CVS repository" link on GHC's home page).
Meanwhile you could use the IArray stuff.
| -----Original Message-----
| From: Joe English [mailto:email@example.com]=20
| Sent: 25 November 2001 00:12
| To: firstname.lastname@example.org
| Subject: Re: heap and walking through a very long list
| Simon Peyton-Jones wrote:
| > There should really be a strict accumArray, just as there=20
| should be a=20
| > strict foldl.
| Yes, please!
| Is there a way to write a strict version of accumArray in=20
| Haskell 98, or does this need to be done by the implementation?
| --Joe English
| Haskell mailing list
| Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell