Article View: comp.lang.clos
Article #624Re: Redefining FORMAT
From: lawrence.g.mayka
Date: Wed, 12 Jun 1991 00:33
Date: Wed, 12 Jun 1991 00:33
28 lines
1672 bytes
1672 bytes
In article <marco.676653088@ipvvis> marco@ipvvis.unipv.it (Marco Ramoni) writes:
When I load the file containing this definition I get the following error:
>>Error: FORMAT already names an ordinary function or a macro
LUCID-RUNTIME-SUPPORT:DEFINE-METHOD:
Required arg 0 (...
Required arg 1 (...
...
0: Flush the existing definition
1: Convert current definition into default method
:C 2: Try loading "..." again
...
...
If I choose option 1 everythig works fine, I get exactly what I want (that is, both the old version and the specialized one). My problem is, is there a way of getting rid of the error message? In other words, can I "Convert the current definition into default method" directly from my program?
If you can find out (via the debugger, asking Lucid, etc.) the class
of condition being signaled, and the name of the restart you want, you
could call INVOKE-RESTART in a handler bound via HANDLER-BIND.
Lawrence G. Mayka
AT&T Bell Laboratories
lgm@iexist.att.com
Standard disclaimer.
Technical Details
Message-ID:
<LGM.91Jun11193312@cbnewsc.ATT.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbfsb!cbnewsc!cbnewsc!lgmReferences:
<marco.676653088@ipvvis>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbfsb!cbnewsc!cbnewsc!lgm From: lgm@cbnewsc.ATT.COM (lawrence.g.mayka) Newsgroups: comp.lang.clos Subject: Re: Redefining FORMAT Message-ID: <LGM.91Jun11193312@cbnewsc.ATT.COM> Date: 12 Jun 91 00:33:12 GMT References: <marco.676653088@ipvvis> Sender: lgm@cbnewsc.att.com (lawrence.g.mayka) Organization: AT&T Bell Laboratories Lines: 28 In-Reply-To: marco@ipvvis.unipv.it's message of 11 Jun 91 15: 11:28 GMT