tWip in IRC notice with-in-str is broken. Patch attached. --Chouser
--~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---
commit 071c5ab1c5b1fd9c80cf1ee825944c7da383a7e2 Author: Chouser <[EMAIL PROTECTED]> Date: Tue Nov 18 12:06:50 2008 -0500 Use vector binding for with-in-str diff --git a/src/clj/clojure/core.clj b/src/clj/clojure/core.clj index 8376f13..a8a1df2 100644 --- a/src/clj/clojure/core.clj +++ b/src/clj/clojure/core.clj @@ -2400,7 +2400,7 @@ "Evaluates body in a context in which *in* is bound to a fresh StringReader initialized with the string s." [s & body] - `(with-open s# (-> (java.io.StringReader. ~s) clojure.lang.LineNumberingPushbackReader.) + `(with-open [s# (-> (java.io.StringReader. ~s) clojure.lang.LineNumberingPushbackReader.)] (binding [*in* s#] [EMAIL PROTECTED])))