diff --git a/README.md b/README.md index 2df9541..e0fcaaa 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ More transducers and reducing functions for Clojure(script)! Add this dependency to your project: ```clj -[net.cgrand /xforms "0.10.0"] +[net.cgrand /xforms "0.10.1"] ``` ```clj diff --git a/project.clj b/project.clj index 64c5795..261f1db 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject net.cgrand/xforms "0.10.0" +(defproject net.cgrand/xforms "0.10.1" :description "Extra transducers for Clojure" :url "https://github.com/cgrand/xforms" :license {:name "Eclipse Public License" diff --git a/src/net/cgrand/xforms/io.clj b/src/net/cgrand/xforms/io.clj index 450e163..9c42416 100644 --- a/src/net/cgrand/xforms/io.clj +++ b/src/net/cgrand/xforms/io.clj @@ -43,8 +43,11 @@ (defn edn-in "Returns a reducible view over the provided input. - Input is read line by line. Coercion of the input is done by io/reader (and opts are passed to it). - Input is automatically closed upon completion or error." + Input is read form by form. Coercion of the input is done by io/reader. + Input is automatically closed upon completion or error. + Unqualified options are passed to both edn/read and io/writer, options qualified by clojure.java.io + are only passed (once dequalified) to io/writer, options qualified by clojure.edn are only passed to + edn/read" [in & {:as opts}] (let [no-init (Object.)] (reify clojure.lang.IReduce @@ -79,5 +82,5 @@ *print-dup* false *print-meta* false *print-readably* true] - (println x) + (prn x) w))) \ No newline at end of file