Hi,

On 11 Okt., 12:45, Ulises <ulises.cerv...@gmail.com> wrote:

> user> (def foo)
> #'user/foo
> user> foo
> ;Var user/foo is unbound.
> ;  [Thrown class java.lang.IllegalStateException]
> user>
>
> I guess this means there's no var named user/foo and hence the symbol
> cannot get its closest match in name?

You are confusing things. The error means that there is no *value*
bound to the Var.

user=> (def foo)
#'user/foo
user=> (var foo)
#'user/foo
user=> (var non-existant)
java.lang.Exception: Unable to resolve var: non-existant in this
context (NO_SOURCE_FILE:3)

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