Re: SV: CLOS woes

"lcluke" <[email protected]> Wed, 07 May 2003 14:06:14 -0000
Newsgroups gmane.lisp.corman
Message-ID <[email protected]>
--- In [email protected], "Pavel Grozman" <pavel@r...> 
wrote:
> You initialize the position with constant list '(0.0 0.0 0.0),
> so all objects will get the same constant.
> Then destructively modify this list.
> 
> To assign a distinct list to evety instance you should write
> 
>   :initform (list 0.0 0.0 0.0)
> 
> But it will be still dangerous to destructively modify this
> list, because there they be insatnces of object with constant
> position:

Ah. That does make sense, thank you. I was going nuts over this one.




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs from home.
Over 14,500 titles. Free Shipping
& No Late Fees. Try Netflix for FREE!
http://us.click.yahoo.com/BVVfoB/hP.FAA/uetFAA/SyjtlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/