Skip to content

Commit 2135461

Browse files
committed
updated when to work with concat
1 parent 1f35872 commit 2135461

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/clojure/core.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"Bug in do"
88

99
(defmacro when [test & body]
10-
(list 'if test (list 'do body) nil))
10+
(list 'if test (concat (list 'do) body)))
1111

1212
(def list (fn [& ls] ls))
1313

0 commit comments

Comments
 (0)