Re: problems with if

2012-01-28 Thread raschedh
> Unlike in Common Lisp, Clojure resolves symbols at compile time. Thank you, for stating this fact so precisely, thereby answering my question. I do have difficulties, though, to deduce this fact from the reference manual. But, well, there you go. Heinz. -- You received this message because y

Re: problems with if

2012-01-27 Thread Roman Perepelitsa
2012/1/26 raschedh > (if true "t" f) > > in a fresh REPL, I get the error > > [...] Unable to resolve symbol: f [...] > > In common lisp, for example: > > (if t "t" f) > evaluates to "t". Try (if t "t" blah) in common lisp, you'll get the same error. Roman Perepelitsa. -- You received this m

Re: problems with if

2012-01-27 Thread Roman Perepelitsa
2012/1/27 Roman Perepelitsa > Try (if t "t" blah) in common lisp, you'll get the same error. > I just tried it and it resolves to "t" in Common Lisp. Sorry about that :-/ Cedric's reply is the one you are looking for. Roman Perepelitsa. -- You received this message because you are subscribed

Re: problems with if

2012-01-27 Thread Cedric Greevey
On Thu, Jan 26, 2012 at 5:16 PM, raschedh wrote: > 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 [...] Unlike

problems with if

2012-01-27 Thread raschedh
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#i