X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fpcl%2Fprint-object.lisp;h=6a91b50c584671ac364bf0818ea4e414860d4ba2;hb=22aec7852f4861e5dab28cc0d619c24b62590dad;hp=9eb42a7c5bc74f3293d90d4a49da095bcdd787ac;hpb=2bdff49151d220d89e5da8c4a9af25372d4f6f36;p=sbcl.git diff --git a/src/pcl/print-object.lisp b/src/pcl/print-object.lisp index 9eb42a7..6a91b50 100644 --- a/src/pcl/print-object.lisp +++ b/src/pcl/print-object.lisp @@ -122,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))))