[Haskell-cafe] Re: mapping unfreeze over an IntMap of IOUArrays

Chad Scherrer chad.scherrer at pnl.gov
Tue Nov 11 17:18:47 EST 2008

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.

For now I'll just do

IntMap.map (unsafePerformIO . unsafeFreeze)

Hopefully this won't come back to bite me....


More information about the Haskell-Cafe mailing list