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

Re: Question about hash tables



Ooh, ooh I think I know that answer!
hash-tables in plt use eq? to compare keys:

Welcome to DrScheme, version 103.
Language: Graphical Full Scheme (MrEd).
> (eq? "fred" "fred")
#f
> (eq? (string->symbol "fred") (string->symbol "fred"))
#t
> 

cheers

chris wright