Vote for "clojure.java.io/pushback-reader" 
http://dev.clojure.org/jira/browse/CLJ-1611 ?

That enhancement suggestion contains links to some previous discussions on 
the subject.



On Friday, March 6, 2015 at 10:18:03 PM UTC-5, Sam Raker wrote:
>
> I'm experimenting a little with EDN files. I've currently got this 
> function:
>
> (defn from-edn [edn-file] (with-open [r (clojure.java.io/reader edn-file)]
>                             (edn/read (java.io.PushbackReader. r))))
>
> Having to explicitly reach into the Java API to read a clojure-only format 
> seems wrong. What should I be doing instead?
>

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