From: Didier V. <di...@lr...> - 2013-10-14 13:10:40
|
Douglas Katzman <do...@go...> 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 |