- To: omau@mindspring.com
- Subject: Controlling the length and depth of the list printing [Re: Lisp Output]
- From: Subbarao Kambhampati <rao@asu.edu>
- Date: Mon, 03 Sep 2001 08:41:57 -0700
- Cc: rao@asu.edu
- In-Reply-To: Your message of "Mon, 03 Sep 2001 03:51:24 -0700"<002601c13466$6096f920$30d156d1@com>
- References: <002601c13466$6096f920$30d156d1@com>
The variable
*print-length* contols how many elements at a given level are printed
*print-level* contols how many levels deep a nested data object will print
These are useful so printing will not be too messy when you have very
large lists (as you would--when lists are dynamically constructed by
the program)
a value of nil to both these variables means there will be no limit
So, in your case, you can just do
(setq *print-length* nil *print-level* nil)
Another idea would be to do
(pprint *)
right after the command that gave an answer with trailing ...
Rao
From: Omar Mahmood <omau@mindspring.com>
Subject: Lisp Output
Date: Mon, 03 Sep 2001 03:51:24 -0700
Message-ID: <002601c13466$6096f920$30d156d1@com>
omau> I am attempting to get the powerset for (a b c d) for Problem
omau> #3. My output in the debug window is cut short and ends with
omau> ... How can I get the debug window to display the entire
omau> results of the powerset function? Thanks.
omau>
omau> Omar Mahmood