The order of the clauses may not be optimal; it is saying that, within the monger.collection namespace, the name update was already referring to clojure.core/update and is being replaced by monger.collection/update.
This is the way that error message has always worked; the only new thing here with respect to Clojure 1.7 is that clojure.core/update did not exist before. On Thursday, 12 February 2015, Sam Raker <sam.ra...@gmail.com> wrote: > I think I get it. I still find the message confusing, though--in the > current ns, update isn't being clobbered by monger.collection/update. > > On Wednesday, February 11, 2015 at 9:02:47 PM UTC-5, Andy Fingerhut wrote: >> >> Sam: >> >> I believe if you proceed to do the following in your REPL: >> >> (in-ns 'monger.collection) >> (doc update) >> >> You will see that the name 'update' _from within the namespace >> monger.collection_ refers to monger.collection/update, not >> clojure.core/update. >> >> That is what the message is intended to convey. >> >> In the user namespace where you are making your doc calls, the name >> update still refers to clojure.core/update. >> >> Andy >> >> On Wed, Feb 11, 2015 at 5:53 PM, Sam Raker <sam....@gmail.com> wrote: >> >>> I just added monger as a dependency to my Clojure 1.7.0-alpha5 project, >>> and saw the following in my repl: >>> >>> user=> (require '(monger [core :as mg] [collection :as mc])) >>> WARNING: update already refers to: #'clojure.core/update in namespace: >>> monger.collection, being replaced by: #'monger.collection/update >>> >>> That warning seems to be in error, though, because `(doc update)` and >>> `(doc mc/update)` print different (and correct) things. >>> >>> Is this a bug? Should I file something somewhere? >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Clojure" group. >>> To post to this group, send email to clo...@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+u...@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+u...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > 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 > <javascript:_e(%7B%7D,'cvml','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 > <javascript:_e(%7B%7D,'cvml','clojure%2bunsubscr...@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 > <javascript:_e(%7B%7D,'cvml','clojure%2bunsubscr...@googlegroups.com');>. > For more options, visit https://groups.google.com/d/optout. > -- 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.