> ...
>
> I get this error message:
>
> java.lang.Exception: Unsupported option(s) supplied: :exclude
> at clojure.core$load_libs.doInvoke(core.clj:5408)
> at clojure.lang.RestFn.applyTo(RestFn.java:137)
> at clojure.core$apply.invoke(core.clj:621)
> at clojure.core$use.d
2013/5/28 ru
> Does (:require [protege.core :refer :all]) is equivalent to (:require
> protege.core)?
No. (:require [protege.core :refer :all]) does roughly the following
* Loads and compiles proteger.core
* Stores it in the namespace map as proteger.core, so fn1 in it can be
referred to wit
rete.core :exclude [rutime])
> ...
>
> I get this error message:
>
> java.lang.Exception: Unsupported option(s) supplied: :exclude
> at clojure.core$load_libs.doInvoke(core.clj:5408)
> at clojure.lang.RestFn.applyTo(RestFn.java:137)
> at clojure.core$apply.invoke(core.cl
On 28/05/13 11:10, atkaaz wrote:
Jim, that is in project.clj right?
aaa yes :exclusions is for project.clj! I've still not fully waken up...
Jim
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@goog
2013/5/28 ru
> Thank you Jim. But, I mean this piece of API doc:
It should be
(ns ru.rules
(:use protege.core
[rete.core :exclude [rutime]])
Unless you use Clojure 1.3, there is absolutely no reason to use :use. Use
:require with :refer:
(ns ru.rules
(:require [protege.core :refer :
>
> Loading a file with such content:
>
> (ns ru.rules
> (:use
> protege.core
> rete.core :exclude [rutime])
> ...
>
> I get this error message:
>
> java.lang.Exception: Unsupported option(s) supplied: :exclude
> at clojure.core$load_libs.doInvoke(c
вторник, 28 мая 2013 г., 13:42:25 UTC+4 пользователь ru написал:
>
> Dear clojure-users,
>
> Loading a file with such content:
>
> (ns ru.rules
> (:use
> protege.core
> rete.core :exclude [rutime])
> ...
>
> I get this error message:
>
> java.lang.Ex
de [rutime])
...
I get this error message:
java.lang.Exception: Unsupported option(s) supplied: :exclude
at clojure.core$load_libs.doInvoke(core.clj:5408)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invoke(core.clj:621)
at clojure.core$use.doInvoke(core.cl
Dear clojure-users,
Loading a file with such content:
(ns ru.rules
(:use
protege.core
rete.core :exclude [rutime])
...
I get this error message:
java.lang.Exception: Unsupported option(s) supplied: :exclude
at clojure.core$load_libs.doInvoke(core.clj:5408)
at clojure.lang.RestFn.applyTo