5 lines
150 B
Clojure
5 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
|