Re: Unable to resolve var: subset? in this context (NO_SOURCE_FILE:1)

2011-07-14 Thread Tuba Lambanog
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

Odp: Unable to resolve var: subset? in this context (NO_SOURCE_FILE:1)

2011-07-14 Thread Daniel Janus
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

Unable to resolve var: subset? in this context (NO_SOURCE_FILE:1)

2011-07-14 Thread Tuba Lambanog
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

Re: Unable to resolve var

2009-10-11 Thread Meikel Brandmeyer
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

Re: Unable to resolve var

2009-10-11 Thread Alex Osborne
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

Unable to resolve var

2009-10-11 Thread gL
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