1 ;;;; This software is part of the SBCL system. See the README file for
4 ;;;; This software is derived from the CMU CL system, which was
5 ;;;; written at Carnegie Mellon University and released into the
6 ;;;; public domain. The software is in the public domain and is
7 ;;;; provided with absolutely no warranty. See the COPYING and CREDITS
8 ;;;; files for more information.
10 (in-package "SB-IMPL") ;(SB-IMPL, not SB!IMPL, since we're built in warm load.)
12 (macrolet ((force-delayed-def!methods
()
14 ,@(mapcar (lambda (args)
23 "~&/done with DEFMETHOD ~S~%"
25 *delayed-def
!method-args
*)
26 (defmacro def
!method
(&rest args
) `(defmethod ,@args
))
27 ;; We're no longer needed, ordinary DEFMETHOD is enough now.
28 (makunbound '*delayed-def
!method-args
*))))
29 (force-delayed-def!methods
))