
11 Nov
2008
11 Nov
'08
4:09 p.m.
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@gmail.com