From: Kevin M. Rosenberg Date: Tue, 23 Feb 2010 17:44:08 +0000 (-0700) Subject: Relax generic function typing X-Git-Tag: v2.12.0~4 X-Git-Url: http://git.kpe.io/?p=hyperobject.git;a=commitdiff_plain;h=7488e60672318e28e08f87c64fe3868690dbfd7b Relax generic function typing --- diff --git a/base-class.lisp b/base-class.lisp index 8c2780b..a7acb3b 100644 --- a/base-class.lisp +++ b/base-class.lisp @@ -20,7 +20,7 @@ (:metaclass hyperobject-class) (:description "Basic hyperobject class")) -(defmethod print-object ((obj hyperobject) (s stream)) +(defmethod print-object ((obj hyperobject) s) (print-unreadable-object (obj s :type t :identity nil) (funcall (obj-data-printer (get-view-id obj :compact-text)) obj s nil))) diff --git a/mop.lisp b/mop.lisp index 093861f..b37a59c 100644 --- a/mop.lisp +++ b/mop.lisp @@ -104,7 +104,7 @@ :lookup nil :lookup-keys nil)) -(defmethod print-object ((obj subobject) (s stream)) +(defmethod print-object ((obj subobject) s) (print-unreadable-object (obj s :type t) (format s "~S" (name-slot obj)))) @@ -118,7 +118,7 @@ (link-parameters :type list :initform nil :initarg :link-parameters :reader link-parameters))) -(defmethod print-object ((obj hyperlink) (s stream)) +(defmethod print-object ((obj hyperlink) s) (print-unreadable-object (obj s :type t :identity t) (format s "~S" (name obj))))