Re: Compilable clojure program, but unreadable?

2012-03-12 Thread Meikel Brandmeyer (kotarak)
Hi, so it is not as consistent as it could be. Sincerely Meikel -- 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

Re: Compilable clojure program, but unreadable?

2012-03-11 Thread Stuart Sierra
The syntax ::s/kwd is incorrect syntax: it should be either ::kwd (which will resolve in the current namespace) or :s/kwd (only one colon). -S -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

Re: Compilable clojure program, but unreadable?

2012-03-11 Thread Kevin Downey
On Mar 11, 2012 4:10 PM, Stuart Sierra the.stuart.sie...@gmail.com wrote: The syntax ::s/kwd is incorrect syntax: it should be either ::kwd (which will resolve in the current namespace) or :s/kwd (only one colon). -S ::s/kwd is valid, it will cause the namespace of the resulting keyword to be

Re: Compilable clojure program, but unreadable?

2012-03-11 Thread Meikel Brandmeyer
Hi, Am 12.03.2012 um 00:09 schrieb Stuart Sierra: The syntax ::s/kwd is incorrect syntax: it should be either ::kwd (which will resolve in the current namespace) or :s/kwd (only one colon). The reader page says, with :: they are resolved in the current namespace. And this seems to work

Re: Compilable clojure program, but unreadable?

2012-03-11 Thread Jonas
Hi, Is this inconsistent behaviour: user= `s/foo s/foo user= ::s/foo #RuntimeException java.lang.RuntimeException: Invalid token: ::s/foo nil user= (require '[clojure.string :as s]) nil user= `s/foo clojure.string/foo user= ::s/foo :clojure.string/foo

Compilable clojure program, but unreadable?

2012-03-10 Thread Jonas
Hi If I have the following short Clojure program: ;; unread.clj (require '[clojure.string :as s]) (prn ::s/kwd) The second form can't be read by the clojure reader: user= (def reader (java.io.PushbackReader. (clojure.java.io/reader unread.clj))) #'user/reader user=

Re: Compilable clojure program, but unreadable?

2012-03-10 Thread Meikel Brandmeyer
those can only be handled after the require is executed. Sincerely Meikel -Ursprüngliche Nachricht- Von: Jonas jonas.enl...@gmail.com An: clojure@googlegroups.com Gesendet: So, 11 Mrz 2012, 07:26:28 MEZ Betreff: Compilable clojure program, but unreadable? Hi If I have the following short