Re: printing circular data structures
- From: Zach Beane <xach@xxxxxxxx>
- Date: Fri, 30 Nov 2007 09:27:38 -0500
Øyvin Halfdan Thuv <oyvinht@xxxxxxxxxxxxxxxxxxxxx> writes:
On 2007-11-30, Eli Bendersky <eliben@xxxxxxxxx> wrote:[snip]
(setf *print-circle* t)
Or:
(let ((*print-circle* t))
... your code here ...
)
and the rest of your CL-environment will not be affected.
I sometimes get confused by the REPL behavior when lexically binding
printer control variables until I remember that they will have no
effect on the REPL's printing of the return value, so I have to put a
PRINT within the LET and return nothing in particular.
Zach
.
- References:
- printing circular data structures
- From: Eli Bendersky
- Re: printing circular data structures
- From: Eli Bendersky
- Re: printing circular data structures
- From: Øyvin Halfdan Thuv
- printing circular data structures
- Prev by Date: Re: Compilation order when compiling and loading a file
- Next by Date: Re: OT: "frgo" is not frog! WAS: Re: A simple debugging macro
- Previous by thread: Re: printing circular data structures
- Next by thread: Re: printing circular data structures
- Index(es):