[Haskell-cafe] Re: mapping unfreeze over an IntMap of IOUArrays
Ross Paterson
ross at soi.city.ac.uk
Tue Nov 11 15:31:48 EST 2008
On Tue, Nov 11, 2008 at 07:39:53PM +0000, Chad Scherrer wrote:
> Don Stewart <dons <at> galois.com> writes:
> > Hmm. So you'd need to construct a new IntMap, made by fmap'ping
> > unsafeFreeze over each element of the old map.
>
> I guess if we had a Traversable instance for Data.IntMap things would be just
> fine. Would this be a bad thing in any way?
I don't think so. It's a straightforward instance, and its omission was
an oversight.
More information about the Haskell-Cafe
mailing list