Re[2]: [Haskell-cafe] Simple hash table creation

2009-11-17 Thread Bulat Ziganshin
Hello Daniel, Tuesday, November 17, 2009, 11:21:18 PM, you wrote: The hash function must have a return type of fixed and specified width, or porting the app between 32-bit and 64-bit platforms could have enormous performance impact, so it can't be plain Int. i think that the problem with

Re[2]: [Haskell-cafe] Simple hash table creation

2009-11-17 Thread Bulat Ziganshin
Hello michael, Wednesday, November 18, 2009, 12:00:58 AM, you wrote: *Main toList ht [(miguel,3),(michael,2),(mike,1)] It seems my dummy function is being ignored. i wonder why you think so? your ht has all 3 pairs you ever inserted inside, they all are inside the same bucket since hash

Re: Re[2]: [Haskell-cafe] Simple hash table creation

2009-11-17 Thread michael rice
with data structures other than lists, so I needed to see how things work. Thanks, everyone, for the help. Michael --- On Tue, 11/17/09, Bulat Ziganshin bulat.zigans...@gmail.com wrote: From: Bulat Ziganshin bulat.zigans...@gmail.com Subject: Re[2]: [Haskell-cafe] Simple hash table creation