Edit:
Ok, just after I posted this I found that SBCL seems to have this extension. But something is not working. When defining
- Code: Select all
(defclass my-seq (sequence) ())
- Code: Select all
#'make-instance
(defclass my-seq (sequence) ())
#'make-instance
schoppenhauer wrote:Ok, just after I posted this I found that SBCL seems to have this extension.
schoppenhauer wrote:But something is not working. When definingI cannot use
- Code: Select all
(defclass my-seq (sequence) ())
There is no applicable method for the generic function #<STANDARD-GENERIC-FUNCTION INITIALIZE-INSTANCE (5)>. Why is that? Why do I have to write my own initialize-instance? Usually, this is done automatically.
- Code: Select all
#'make-instance
(defclass my-seq (sequence standard-object) ())
Users browsing this forum: No registered users and 12 guests