Thank you!
Tuba
On Thu, Jul 14, 2011 at 2:24 PM, Daniel Janus wrote:
> subset? is in the clojure.set namespace, so you must (use 'clojure.set)
> before you can
> use subset? unqualified.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To po
subset? is in the clojure.set namespace, so you must (use 'clojure.set)
before you can
use subset? unqualified.
--
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 mem
Hello,
I'm getting an unresolved var error when I do (doc subset?), thus:
Interactive Clojure console.
Starting...
Clojure 1.2.0
user=> (doc subset?)
java.lang.Exception: Unable to resolve var: subset? in this context
(NO_SOURCE_FILE:1)
I'm able to do doc on other forms.
M
ax))
>
> The solution only works with a var name that equals to a Clojure name
> (here "max").
>
> Changing "max" to "res" results in java.lang.Exception: Unable to
> resolve var: res in this context
If you feel to write code like this, then please r
gL wrote:
> The solution only works with a var name that equals to a Clojure name
> (here "max").
That's because (binding) only works with a var that already exists, it
doesn't create a new one. To create your own var (instead of abusing a
clojure core one) just use "with-local-vars" instead o
perm)))
max))
The solution only works with a var name that equals to a Clojure name
(here "max").
Changing "max" to "res" results in java.lang.Exception: Unable to
resolve var: res in this context
(but works also with "vec" etc.)
Is Clojure's behaviou