Hello, world !

Because that is my first post, I can not resist to say
"Thank you !!!" for clojure. I like it at lot.

When I type

(if true "t" f)

in a fresh REPL, I get the error

[...] Unable to resolve symbol: f [...]

But my interpretation of the reference ( http://clojure.org/special_forms#if
) is,
that, in the above case, f should not have been evaluated at all.

In scheme (I use mit-scheme) and in common-lisp (I use clisp) I get
the
(expected) behaviour:

In common lisp, for example:

(if t "t" f)
evaluates to "t".

Only when I do

(if nil "t" f)

I get the (expected) error, that f has got no value.

So, why is Clojure trying to resolve the symbol f ?
What do I not understand ?

In happens in clojure 1.3.0 as well as in a fresh build from the git
repo.

Thanks four your help.

Heinz.

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