[Openmcl-devel] pretty printing

Philippe Sismondi psismondi at arqux.com
Tue Nov 17 01:51:35 UTC 2009


Should I expect ccl to pretty-print when *print-pretty* is set to T?

I am new to CL, so what I did was to type in the example in Hyperspec:

  (let ((*print-pretty* t))
    (progn (write '(let ((a 1) (b 2) (c 3)) (+ a b c))) nil))

 >>  (LET ((A 1)
 >>        (B 2)
 >>        (C 3))
 >>    (+ A B C))
=>  NIL

I don't get any indentation when I type that example into ccl. The  
example just gets printed on one line of output, no indentation.

Am I supposed to do some additional thing to get the output shown?  
Additional parameters, or fiddle with dispatch tables?

(This may be covered in the archives to this list somewhere. But AFAIK  
there is no search function for the archives. Set me straight on this  
if I am wrong.)

thx

- Philippe -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clozure.com/pipermail/openmcl-devel/attachments/20091116/012f27e6/attachment.html>


More information about the Openmcl-devel mailing list