| How can one use a list as a key to a hash? I'm new to arc, and I'm working on an implementation of multimethods(I'm aware that there is already one on Anarki, but I thought it would be an interesting thing to do). My multiple dispatch idea was to use a table with lists of argument types as the key. However, I can't figure out how to get using lists as hash keys to work. For example: (= foo (obj '(int int) +)) (foo '(int int)) returns nil. I want it to return +. Is there any way to make that happen with Arc hash tables? |