We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33aa5dc commit a938001Copy full SHA for a938001
1 file changed
src/futils/utils.clj
@@ -38,16 +38,16 @@
38
(count (first coll)))
39
40
(defmacro
41
- {:added "0.6"}
42
if->
+ {:added "0.6"}
43
[val pred & body]
44
(let [v `~val
45
p (if (sequential? pred) pred (list pred))]
46
(list 'if (cons (first p) (cons v (rest p))) (cons 'do body) v)))
47
48
49
50
if-not->
51
52
53
0 commit comments