In trying to build compojure with the git MASTER versions of clojure &
contrib I ran into this error:

Clojure 1.2.0-master-SNAPSHOT
user=> (use 'clojure.contrib.string)
java.lang.IllegalStateException: repeat already refers to:
#'clojure.core/repeat in namespace: user (NO_SOURCE_FILE:0)

So I figured I'd try to use the :exclude option but got this:
user=> (use 'clojure.contrib.string :exclude [repeat])
java.lang.IllegalArgumentException: Don't know how to create ISeq
from: java.lang.Boolean (NO_SOURCE_FILE:0)

Digging a little deeper I tried to diagnose the problem with refer:
user=> (refer 'clojure.contrib.string :exclude [repeat])
java.lang.IllegalStateException: repeat already refers to:
#'clojure.core/repeat in namespace: user (NO_SOURCE_FILE:0)

Looking at the code of the refer function I'm *guessing* that the code
that filters out the :excludes isn't working because [repeat]
evaluates to an existing function in the current namespace and not a
bare symbol to be matched against the incoming symbols from the target
lib, but I'm not sure.

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