chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Printing recursive objects


From: Richard
Subject: [Chicken-users] Printing recursive objects
Date: Wed, 24 Sep 2014 21:34:40 +0000

Hello Chickens,

If I have an object that references itself, like for example...

(define v (vector 0))
(vector-set! v 0 v)

and I print it, chicken goes -understandably- into an infinite loop.

Is there a way to prevent this, or is there something like
define-record-printer for non-record objects.

thank you,
Richard



reply via email to

[Prev in Thread] Current Thread [Next in Thread]