Hi there! * Taylor Venable <tay...@metasyntax.net> [100803 23:39]: > On Tue, Aug 3, 2010 at 4:03 PM, Jeronimo Pellegrini <j...@aleph0.info> wrote: > > I was wondering how to get Chicken to print cyclic structures > > using references to previous elements instead of looping, like > > this, for example (this is what Gauche does on the REPL, and > > what Guile's display implementation does): > > > > > a > > #0=(1 . #0#) > > > > Is there some way to configure Chicken to do that? (I've searched > > the wiki but found nothing) > > If you're open to using a different method to do so, both the fmt and > srfi-38 eggs provide such a means via fmt and > write-with-shared-structure, respectively.
Also note that csi's describe command will show you the circular structure. Maybe the notation is not the best atm but it seems not many people use this anyway (maybe because out of ignorance of this feature). Kind regards, Christian _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users