Plaster
New
List
Login
common-lisp
default
anonymous
2023.10.21 15:15:42
(defclass foo () ((x :initarg :x :accessor x))) ; => #<STANDARD-CLASS COMMON-LISP-USER::FOO> (bt:make-thread (lambda () (let ((foo (make-instance 'foo :x 0))) (loop (incf (x foo)))))) ; => #<SB-THREAD:THREAD tid=0 "Anonymous thread" RUNNING {1001E1ACE3}> (defclass foo () ((x :initarg :x :accessor x))) ; => #<STANDARD-CLASS COMMON-LISP-USER::FOO> ;; And then SLDB opens: #| There is no applicable method for the generic function #<STANDARD-GENERIC-FUNCTION COMMON-LISP-USER::X (1)> when called with arguments (#<FOO {1001EA5383}>). [Condition of type SB-PCL::NO-APPLICABLE-METHOD-ERROR] See also: Common Lisp Hyperspec, 7.6.6 [:section] |#
Raw
Annotate
Repaste
Edit