Closed dragoncoder047 closed 1 year ago
Good point - thanks.
I think an easy solution would be to have a third parameter doEscape
and pass true in (read)
and false in (read-line)
.
Yes, I was thinking along the same lines. On the todo list.
It just dawned on me that you could implement something like (make-string-input-stream)
/ (with-input-from-string)
by simply using gstr()
. Unfortunately until #64 is resolved it will only work for one stringstream, but that's already an inherent limitation with the current implementation.
Good point. I've already got with-output-to-string so I don't know why I didn't include with-input-from-string.
Common Lisp does not do this:
I think the intention of
(read-line)
was to ignore backslashes and include them.