Blair,
I suspect the answer will be that it's intentional, either for historical or
other reasons, but please take a look at Association>>hash vs. #=. The
equality uses both key and value (which seems correct), but #hash uses only
the key.
I noticed the apparent discrepancy after having a Dictionary, with
Associations as keys, appear to return an incorrect element. The code
involved is more than a little threaded, and I could have been seeing a
dirty read instead of a bug in Dictionary. I tried without sucess to
reproduce the problem in a simpler case. Then I changed the design,
replacing the associations with slightly smarter objects that do some very
useful things and also compare and hash to match the problem.
Have a good one,
Bill
--
Wilhelm K. Schwab, Ph.D.
[hidden email]