X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fpcl%2Fprint-object.lisp;h=6a91b50c584671ac364bf0818ea4e414860d4ba2;hb=cf607a404d7518e8a18c9e362913f370eb9a5e38;hp=6436c3de529e46369301c82d8d12bee4e9ec5b45;hpb=ef04b756fea49f03ce543873b4606bac0a31badf;p=sbcl.git diff --git a/src/pcl/print-object.lisp b/src/pcl/print-object.lisp index 6436c3d..6a91b50 100644 --- a/src/pcl/print-object.lisp +++ b/src/pcl/print-object.lisp @@ -42,7 +42,6 @@ #+sb-show (*/show* nil) ;; (another workaround for the problem of debugging while the ;; printer is disabled here) - #+sb-show (sb-impl::*print-object-is-disabled-p* t)) (fmakunbound 'print-object) (defgeneric print-object (object stream)) @@ -123,17 +122,10 @@ (list (length (generic-function-methods generic-function))) "?"))) -(defmethod print-object ((constructor constructor) stream) - (print-unreadable-object (constructor stream :type t :identity t) - (format stream - "~S (~S)" - (slot-value-or-default constructor 'name) - (slot-value-or-default constructor 'code-type)))) - (defmethod print-object ((cache cache) stream) (print-unreadable-object (cache stream :type t :identity t) (format stream - "~D ~S ~D" + "~W ~S ~W" (cache-nkeys cache) (cache-valuep cache) (cache-nlines cache))))