Hi,

On 11 Apr., 16:29, limux <liumengji...@gmail.com> wrote:

> Why some warning of conflit be reported in the cmd of win when
> the lein run myoa/core.clj? and when I refresh the browser the system
> will failed with lots of error messsage?

The conflict is not in clojureql, but your namespace. You probably
":use" clojureql and define a custom distinct function which in turn
clashes with the clojureql one. You have to modify your namespace
declaration to exclude or to rename the clojureql distinct.

(ns myoa.core
  (:refer-clojure :rename {distinct core-distinct})
  (:use [clojureql.core :rename {distinct cql-distinct}]))

Then you can define your own distinct without clashing and are still
able to reference the core resp. clojureql distinct via core-distinct
resp. cql-distinct.

Or you simply exclude distinct and use the fully qualified name:
clojure.core/distinct resp. clojureql.core/distinct.

(ns myoa.core
  (:refer-clojure :exclude (distinct))
  (:use [clojureql.core :exclude (distinct)]))

Hope that helps.

Sincerely
Meikel

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