user> (when true
        (println "line 1")
        (println "line 2")
        (println "line 3")
        (println "there is no need to use #'do")
        (println "there is nothing to evaluate when false and return nil"))
line 1
line 2
line 3
there is no need to use #'do
there is nothing to evaluate when false
nil

On Mar 1, 1:08 am, Аркадий Рост <arkr...@gmail.com> wrote:
> Hi!
>
> hmm...I don't understand why clojure when and if simultaneously? What
> is the diffirences between them and when I should use one instead
> another one?

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