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.