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

2008-11-11 Thread Don Stewart
bulat.ziganshin: > Hello Don, > > Wednesday, November 12, 2008, 12:51:33 AM, you wrote: > > >> btw, i made here some time ago proposal about pure hashtables > > > Did you end up implementing this? > > yes, i have published here all the 10 lines of implementation :))) > > citing letter to you:

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

2008-11-11 Thread Don Stewart
bulat.ziganshin: > 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 Did you end up implementing this? -- Don

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

2008-11-11 Thread Scherrer, Chad
Bulat wrote: > Hello Chad, > > Tuesday, November 11, 2008, 10:23:09 PM, you wrote: > > 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, wh

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

2008-11-11 Thread Bulat Ziganshin
Hello Chad, Tuesday, November 11, 2008, 10:23:09 PM, you wrote: > using unsafeFreeze. I'm getting stuck here, since the IntMap library is not so > monad-friendly. Data.Hashtable is -- Best regards, Bulatmailto:[EMAIL PROTECTED] ___

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

2008-11-11 Thread Don Stewart
chad.scherrer: > Hello cafe, > > I've hit a bit of a monadic snag here... > > I'm scanning a big file, building a table of statistics. I end up with > something like > > IO (IntMap (IOUArray Int Double)) > > Once I've read in the whole file and built my statistics, I don't need > any more updat