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 resolved via the namespace aliases in the current namespace. please enjoy rhickey explaining this to cemerick: http://clojure-log.n01se.net/date/2009-04-30.html#08:11 Clojure 1.4.0-master-SNAPSHOT user=> :s/k :s/k user=> ::s/k RuntimeException Invalid token: ::s/k clojure.lang.Util.runtimeException (Util.java:170) user=> (require '[clojure.string :as s]) nil user=> ::s/k :clojure.string/k user=> > > -- > 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 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