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

vector class?

Is there a way to discriminate on a vector?  I tried:

* (defmeth id ((x vector)) :vector)

however when I try to use it:

* (id (vector))
Error in function class-of.
Can't determine class of #()

The same sort of thing worked just as a I expected it to on strings.
Why is this a problem for vectors?