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

Question about hash tables



Can someone please help me with this?

I have an object client with a reader st:
(name client)
=> "Client"

I add the object to a hash table (called *data-trak*):
(hash-table-put! *data-trak* (name client) client)


If I evaluate:
(hash-table-for-each *data-trak* (lambda (key value) (display key)))
=> "Client"


And yet if I try:
(hash-table-get *data-trak* "Client")

I get:
hash-table-get: no value found for key: "Client"

I am missing something, but not sure what?

Alex