[Haskell-cafe] Simple hash table creation

Bulat Ziganshin bulat.ziganshin at gmail.com
Tue Nov 17 14:27:49 EST 2009


Hello michael,

Tuesday, November 17, 2009, 10:16:50 PM, you wrote:

> I'm trying to create a hash table. Yeah, I know, don't use hash
> tables, but I need to create something I'm familiar with, not
> something I've never worked with before. What's wrong with this code?

> ht = MyHashTable.new (==) dummy

MyHashTable should be a name of module. seems that you try to use your OOP
instinct here :)

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



More information about the Haskell-Cafe mailing list