Mark Fredrickson <mark.m.fredrick...@gmail.com> writes:

> While (read) taking an argument seems valid, I think you can do what
> you want in the short term using binding:

read actually already takes an argument, it just (without my patch)
requires it to be a PushbackReader.

> IIRC, duck-streams has a (with-reader ...) form that will handle the
> binding and close the reader when it exists (which may or may not be
> what you want).

I don't see with-reader in contrib anywhere. Maybe this comes from
somewhere else?

-Phil

--~--~---------~--~----~------------~-------~--~----~
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
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to