[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue: PRINT-PRETTY-HOOK (version 1)
- To: Patrick Dussud <dussud%lucid.com@multimax>
 
- Subject: Re: Issue: PRINT-PRETTY-HOOK (version 1)
 
- From: Dan L. Pierson <pierson%mist@multimax.ARPA>
 
- Date: Mon, 03 Oct 88 13:39:21 EDT
 
- Cc: cl-cleanup%sail.stanford.edu@Multimax
 
- In-reply-to: Your message of Fri, 23 Sep 88 08:44:24 -0700.             <8809231544.AA24733@rainbow-warrior> 
 
       Would it help if the pretty print function took an additional optional
       argument, the current print level (the current print length always
       starts at 0 when the function is called.)
    
    I think it makes it more consistent with the structure print
    functions. I don't think that you can win all the time, because,
    if your print function calls a Common Lisp print function (print,
    princ...), then you lose the depth.
    
Not really because I would expect my pretty print function to only
call a Common Lisp print function on known leaves.