David and Valentin Thank you. I did not know about #(write ...). I will switch to write from now on.
On Wed, Jun 3, 2020 at 11:41 AM Valentin Villenave <valen...@villenave.net> wrote: > > On 6/3/20, Freeman Gilmore <freeman.gilm...@gmail.com> wrote: > > % Gives me this: (-3 A -6 1 -B), > > Well, it _is_ a list of strings, as you can verify by adding: > > #(display (map string? Y)) > > Or you can use > #(write Y) > instead of (display Y), which will print the double quotes. > > > % I need: ("-3" "A" "-6" "1" "-B"), how do I get this? A list of > > strings. > > Well, you can always do > > #(set! Y (map (lambda (s) (string-append "\"" s "\"")) Y)) > > but as I said, that’s not necessary. > > Cheers, > -- V.