4 lines
150 B
Clojure
4 lines
150 B
Clojure
(when x
|
|
(print "hello")
|
|
(println " world")
|
|
5) ; when x is logical true, prints "hello world" and returns 5; otherwise does nothing, returns nil
|