Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added not-any? rule

  • Loading branch information...
commit dc4f723baaf5b7b75eddf02a100b8a8465db2f40 1 parent 65095fc
@jonase jonase authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/kibit/rules/misc.clj
View
5 src/kibit/rules/misc.clj
@@ -26,7 +26,7 @@
(logic/pred fun #(or (keyword? %)
(and (symbol? %)
(not= \. (first (str %)))
- (not (some #{\/} (str %))))))))
+ (not-any? #{\/} (str %)))))))
#(logic/== % fun)])
;; do
@@ -70,7 +70,10 @@
(logic/project [form]
(logic/== sbst (concat form (list arg)))))]))])
+
+
;; Other
+ [(not (some ?pred ?coll)) (not-any? ?pred ?coll)]
[(not (= . ?args)) (not= . ?args)])
Please sign in to comment.
Something went wrong with that request. Please try again.