Difference between ASSERT and ASSERT-INSTANCE

Paolo Amoroso <[email protected]> Thu, 05 May 2005 21:28:19 +0200
Newsgroups gmane.lisp.lisa.general
Organization Paolo Amoroso - Milano, ITALY
Message-ID <[email protected]>
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