I am trying to create a class that can store a character vector in a slot in SBCL. I canβt figure out how to configure it.
My best guess so far has been
(defclass Individual () ((discrete-decisions :type (vector symbol))))
This returns the following error:
keyword argument not a symbol: (DISCRETE-DECISIONS :TYPE (VECTOR SYMBOL)). [Condition of type SB-INT:SIMPLE-PROGRAM-ERROR]
Some experiments have shown that changing the type of only symbol returns the same error. I thought symbol is a valid type in Common Lisp ... am I mistaken?
How can I make this work?
[EDIT]
I had a problem with SBCL 1.0.58 in the Slime build 09-22-2012 under Emacs 24.2. When I run SBCL 1.0.58 from the command line, there is no problem. This is not like a SBCL problem ...
source share