On Thu, Nov 4, 2010 at 8:39 PM, Laurent PETIT <laurent.pe...@gmail.com> wrote:

> c has the value "Unbound". The semantic has not changed, the way to
> carry the semantic has.
>
> Now if you try to really "use" c, for example use it in call position,
> then since Unbound implements IFn, you'll have the appropriate
> exception because it correctly overrides IFn's invoke(...) methods.

It begs a question then, why would I do that? Where would that be of use?

devmac:~ jacek$ clj -13
CLOJURE_DIR:  /Users/jacek/apps/clojure
CLOJURE_CONTRIB_JAR:  /Users/jacek/apps/clojure-contrib-1.3.0-alpha2.jar
Clojure 1.3.0-alpha2
user=> (def c)
#'user/c
user=> (c)
IllegalStateException Attempting to call unbound fn: #'user/c
clojure.lang.Var$Unbound.throwArity (Var.java:43)
user=> (type c)
clojure.lang.Var$Unbound

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl

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