Merge pull request #154 from jpb/suggest-vary-meta
Suggest vary-meta in place of with-meta and meta
This commit is contained in:
commit
ca8e5aee79
2 changed files with 5 additions and 2 deletions
|
@ -103,7 +103,8 @@
|
|||
|
||||
|
||||
;; Other
|
||||
[(not (some ?pred ?coll)) (not-any? ?pred ?coll)])
|
||||
[(not (some ?pred ?coll)) (not-any? ?pred ?coll)]
|
||||
[(with-meta ?x (?f (meta ?x) . ?arg)) (vary-meta ?x ?f . ?arg)])
|
||||
|
||||
|
||||
(comment
|
||||
|
|
|
@ -41,4 +41,6 @@
|
|||
'(form arg) '(->> arg form)
|
||||
'(:form arg) '(->> arg :form)
|
||||
'(first-of-form rest-of-form arg) '(->> arg (first-of-form rest-of-form))
|
||||
'(not-any? pred coll) '(not (some pred coll))))
|
||||
'(not-any? pred coll) '(not (some pred coll))
|
||||
'(vary-meta arg f) '(with-meta arg (f (meta arg)))
|
||||
'(vary-meta arg f :a :b :c) '(with-meta arg (f (meta arg) :a :b :c))))
|
||||
|
|
Loading…
Reference in a new issue