Changes for clojure.core/do

zkim on Mon, 25 Oct 2010
;; do is used to evaluate multiple expressions in order, usually for the
;; purpose of evaluating exprs that have side-effects (such as printing
;; or I/O).  do returns the value of its last expression.
;;
;; do w/o args returns nil.

=> (do
     (println "LOG: Computing...")
     (+ 1 1))
LOG: Computing...
2

=> (do)
nil
zkim on Mon, 25 Oct 2010
;; do is used to evaluate multiple expressions in order, usually for the
;; purpose of evaluating exprs that have side-effects (such as printing
;; or I/O).  do returns the value of its last expression.
;;
;; do w/o args returns nil.

=> (do
     (println "LOG: Computing...")
     (+ 1 1))
Computing...
2

=> (do)
nil
zkim on Mon, 25 Oct 2010
;; do is used to evaluate multiple expressions in order, usually for the
;; purpose of evaluating exprs that have side-effects (such as printing
;; or I/O).  do returns the value of its last expression.
;;
;; do w/o args returns nil.

=> (do
     (println "hello")
     (println "world")
     (+ 1 1))
hello
world
2

=> (do)
nil