Can anyone come up with an example of a case where the call to 
clojure.edn/read leaves an unread character in the PushbackReader? Looking 
briefly at the EdnReader source, I only see cases where the pushback buffer 
is used internally, in order to save a character that is later consumed 
during the same call to read. If this is true, and if this behavior could 
be guaranteed for all time and for all possible versions of Edn, then it 
would in fact be possible--although not necessarily worth it--for 
clojure.edn/read to accept a BufferedReader, or even an arbitrary Reader, 
as input.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to