Re: with-slots usage question

"Robert P. Goldman" <[email protected]> Wed, 12 Nov 2003 14:24:39 -0600
Newsgroups gmane.lisp.clump
Message-ID <[email protected]>
>>>>> "Matthew" == Matthew Danish <[email protected]> writes:

    Matthew> On Mon, Nov 10, 2003 at 10:07:46PM -0600, Robert P. Goldman wrote:
    >> I believe this means there's no "type binding" we can copy around, so
    >> we'd always have to refer to STRING as COMMON-LISP:STRING if we
    >> shadowed STRING --- we couldn't copy anything to the interned STRING
    >> in our new package.

    Matthew> (deftype string () 'cl:string) ?

D'oh!  Of course.  But note that you're still operating with the
symbols, which was my original point --- you're not working with
anything attached to the symbols.  Not like when I want to get the
function but not the value cell, when would shadow the symbol and
then do

(setf (symbol-function 'string) (symbol-function 'cl:string))

Seems different to me, anyway.....  :-)

R