RFC: Adding a Hashable type class and HashMap/HashSet data types to HP

Johan Tibell johan.tibell at gmail.com
Thu Nov 25 17:23:18 EST 2010


On Thu, Nov 25, 2010 at 6:59 PM, Yitzchak Gale <gale at sefer.org> wrote:
> But how about [Data.Map Data.Text (String, [(Int, Bool)])]
> or whatever. Do you have a hash function for that?
> When you have containers that can be used to build structures
> of arbitrary shape, writing a hash function that works in
> general is a hard problem.

Is this an interesting problem to optimize for?

Johan


More information about the Libraries mailing list