On Thu, Apr 29, 2010 at 7:24 PM, ataggart <alex.tagg...@gmail.com> wrote:

> user=> (defn repeat [x] x)
> java.lang.Exception: Name conflict, can't def repeat because
> namespace: user refers to:#'clojure.core/repeat (NO_SOURCE_FILE:1)
> user=> (ns my.ns (:refer-clojure :exclude [repeat]))
> nil
> my.ns=> (defn repeat [x] x)
> #'my.ns/repeat
>
>
thanks. Though I found this behavior a bit annoying. What seems to be
happening is that I need to exclude all the symbols that is excluded by
c.c.string again if I use 'use ...' why would 'repeat' all of a sudden
appear again if it is excluded from c.c.string ? does it mean I need to go
through the source each time if I encounter such error ?

-- 
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

Reply via email to