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

Bulat Ziganshin bulat.ziganshin at gmail.com
Tue Nov 11 16:09:51 EST 2008

Hello Max,

Tuesday, November 11, 2008, 11:50:28 PM, you wrote:

btw, i made here some time ago proposal about pure hashtables
implented over a pure arrays (via accumArray operaion). may be it is
somewhat helpful for you

>>> > using unsafeFreeze. I'm getting stuck here, since the
>>> IntMap library
>>> > is not so monad-friendly.
>>> Data.Hashtable is
>> Well, I need mutable update for a while... after that, I prefer a pure
>> interface, which is why I'm trying to freeze all the values.

> Is there any reason why an immutable Hashtable shouldn't be
> implemented, with a pure interface, such that hashtables can be
> (unsafe)Freezed into immutable hashtables? Would this be useful?

> --Max

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com

More information about the Haskell-Cafe mailing list