I\'m trying to create a class that can store a vector of symbols in a slot in SBCL. I cannot figure out how to set it up.
My best guess thus far has been
I know I'm probably too late, but you should wrap around your classe declaration with a optimization for safety. For example:
(locally (declare (optimize safety))
(defclass test-class ()
((some-slot :type real :initarg :some-slot :accessor :test-some-slot))))
You might consider defining an :after method on slot accessor/writer. Also, the ultimate degree of control can be exercised by defining your own metaclass and customization of slot-value-using-class