RE: Difference between ASSERT and ASSERT-INSTANCE
"Young, David" <[email protected]> Thu, 5 May 2005 15:28:36 -0400
| Newsgroups | gmane.lisp.lisa.general |
|---|---|
| Message-ID | <A24502FBD4FB85468D5781CD84213E40015B9739@mail01.bhusa.bhsoftware.com> |
There's really no difference. I think I had planned to deprecate assert-instance at some point, but haven't yet gotten around to it. Use assert unless you find a case where it won't work. Cheers, David -----Original Message----- From: Paolo Amoroso [mailto:[email protected]] Sent: Thursday, May 05, 2005 3:28 PM To: LISA Subject: [Lisa-users] Difference between ASSERT and ASSERT-INSTANCE What is the difference, if any, between ASSERT with a CLOS instance as an argument, and ASSERT-INSTANCE? In other words, I wonder about the difference between: (assert ((make-instance 'my-class ... ))) and: (assert-instance (make-instance 'my-class ... )) Paolo -- Lisp Propulsion Laboratory log - http://www.paoloamoroso.it/log ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ Lisa-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lisa-users This email message is for the sole use of the intended recipients(s) and may contain confidential and privileged information of Bloodhound Software, Inc.. Any unauthorized review, use, disclosure is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20