On Feb 12, 2009, at 11:00 PM, Phil Hagelberg wrote:

Yikes. I hadn't thought of that--I was only using read in cases where I
wanted to get a single object from the reader.

Taking things off the reader and then pushing them back on seems a
little odd to me--isn't there a way to just "peek" at the next character
without consuming from it? That's how I expected this to work.

PushbackReader exists because pushing back one or a small number of characters can make parsing text significantly easier. Rather than forcing every input stream to allow some pushing back (or peeking), PushbackReader encapsulates that capability and works with other streams to provide it.

I see that issue 79 against Clojure requesting this change is still open. If auto-wrapping of readers is no longer a change you'd like to see, would you please either withdraw it (if you as the originator have that capability) or add a comment to it requesting that it be withdrawn?

Thanks,

--Steve

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to