*print-circle* doesn't detect circular defstructs

JP Massar <[email protected]> Thu, 19 Jun 2003 18:17:13 -0700
Newsgroups gmane.lisp.corman
Message-ID <[email protected]>
(setq *print-circle* t)

(defstruct foo x y)

(setf z (make-foo))

;;; Don't do this!!!!!

(setf (foo-y z) z)

----------------------------

The Hyperspec doesn't say that setting *print-circle* to non-nil
will definitely detect such circularity, so this isn't a bug.  But it
would be very nice if Corman Lisp did do so.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Looking for the latest Free IT White Papers?
Visit SearchNetworking.com to access over 500 white papers.
Get instant access at SearchNetworking.com Today
http://us.click.yahoo.com/8lAzoD/OLNGAA/witMAA/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/