[cmucl-imp] [Sbcl-devel] [Didier Verna] multiple string reads/writes of SB-IMPL::BAKQ-COMMA

Didier Verna didier at lrde.epita.fr
Mon Oct 14 12:55:08 UTC 2013


Douglas Katzman <dougk at google.com> wrote:

> You'll get correct results doing it this way -
>
> (s (write-to-string (read s) :pretty nil :readably t))

  Yes. In fact, I was fooled by the fact that PRIN1 and friends are
  described to produce output suitable "for input to READ", but in fact
  don't bind *PRINT-READABLY* (this is even mentioned explicitly in the
  CLHS...).

-- 
Resistance is futile. You will be jazzimilated.

Lisp, Jazz, Aïkido: http://www.didierverna.info


More information about the cmucl-imp mailing list