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
updates, so I'd like to do something like
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 updates, so I'd
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]
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, which is
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
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
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:
actually, writing HT module from scratch
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:
actually,
Hello Don,
Wednesday, November 12, 2008, 1:21:18 AM, you wrote:
If this structure is useful, you should release it on Hackage.
You've not tested the performance though, I imagine, versus
say, hasing into an IntMap?
you know that making all these things need a time. sorry, ATM i
think that my