[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hash table key comparisons - always eq?

It's not possible to change the way in which hash table keys are
compared?  I would like to use equal? in order to be able to have

(equal? '("list" "of" "strings") '("list" "of" "strings")) => #t

I suppose I can always hash on (apply string-append list-of-strings)
and then put my list in some kind of structure that is inserted as the
value, but it's less immediate for what I'm doing.


David N. Welton
   Consulting: http://www.dedasys.com/
Free Software: http://people.debian.org/~davidw/
   Apache Tcl: http://tcl.apache.org/
     Personal: http://www.efn.org/~davidw/