Re: [CM] question about pretty-print and object serialization

2022-01-15 Thread Iain Duncan
thanks Bill. I'll keep poking at it! iain On Sat, Jan 15, 2022 at 10:33 AM wrote: > I think the "..." truncation of vectors depends on the > (*s7* 'print-length) setting. It's 12 for historical > reasons. I think the :readable argument to object->string > (and the `W format option) came after

Re: [CM] question about pretty-print and object serialization

2022-01-15 Thread bil
I think the "..." truncation of vectors depends on the (*s7* 'print-length) setting. It's 12 for historical reasons. I think the :readable argument to object->string (and the `W format option) came after write.scm and pretty-print, so pretty-print might not be as complete in that regard. __

[CM] question about pretty-print and object serialization

2022-01-15 Thread Iain Duncan
Hi Bill and list, I've been playing with the pretty-print function in write.scm in further attempts to make a nice "back to code" serializer for my sequencers. I have the back to text part working at a basic level using the below, but it comes out as one long line. (define (save-seq seq-obj filena