I'm wondering if your problem with FORMAT introducing some extraneous
line breaks is because of an interaction with the pretty printer.
Does it do better if you try
(let ((*print-pretty* nil))
(format nil ...))
--
Thomas A. Russ, USC/Information Sciences Institute
On 13 Apr, 20:24, ····@sevak.isi.edu (Thomas A. Russ) wrote:
> I'm wondering if your problem with FORMAT introducing some extraneous
> line breaks is because of an interaction with the pretty printer.
>
> Does it do better if you try
>
> (let ((*print-pretty* nil))
> (format nil ...))
>
> --
> Thomas A. Russ, USC/Information Sciences Institute
I haven't tried that. This bug (I'm reasonably sure it is a bug) held
me up for a hour or so whilst I fiddled with the code, until I tested
the FORMAT in CLisp. At any rate I have a workaround.
This indentation thing in Python is a little sticky (hence why FORMAT
needs to be spot on), but I think I've induced the principles for the
examples I've seen.
Mark
On 13 Apr, 21:24, ····@sevak.isi.edu (Thomas A. Russ) wrote:
> Does it do better if you try
>
> (let ((*print-pretty* nil))
> (format nil ...))
I tried it, and yes, this solves the problem.