[Openmcl-devel] pretty printing

Philippe Sismondi psismondi at arqux.com
Mon Nov 16 17:51:35 PST 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.)


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

More information about the Openmcl-devel mailing list