cej38 <junkerme...@gmail.com> writes: Hi,
> REPL started; server listening on localhost port 19922 > user=> (refer '[clojure.core :exclude [==]]) > ClassCastException clojure.lang.PersistentVector cannot be cast to > clojure.lang.Symbol clojure.core/find-ns (core.clj:3657) The syntax is wrong. You probably want (refer-clojure :exclude [==]) which is equivalent to (refer 'clojure.core :exclude [==]) But that doesn't work for the user namespace at the REPL, because that refers clojure completely when started, i.e., == refers already to clojure.core/==, and the above won't revert that. So better create a new namespace: user> (ns core-logic-playground (:refer-clojure :exclude [==]) (:use clojure.core.logic)) core-logic-playground> (meta #'==) {:arglists ([u v]), :ns #<Namespace clojure.core.logic>, :name ==, :doc "A goal that attempts to unify terms u and v.", :macro true, :line 832, :file "clojure/core/logic.clj"} Bye, Tassilo -- (What the world needs (I think) is not (a Lisp (with fewer parentheses)) but (an English (with more.))) Brian Hayes, http://tinyurl.com/3y9l2kf -- 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