From a46caf691484cc4f55a6e220771601a9110037ed Mon Sep 17 00:00:00 2001 From: Jonas Enlund Date: Tue, 13 Nov 2012 22:32:27 +0200 Subject: [PATCH] fix for #61 --- project.clj | 2 +- src/kibit/rules/misc.clj | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/project.clj b/project.clj index e61c733..5952a11 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject jonase/kibit "0.0.6" +(defproject jonase/kibit "0.0.7-SNAPSHOT" :description "There's a function for that!" :url "https://github.com/jonase/kibit" :license {:name "Eclipse Public License - v 1.0" diff --git a/src/kibit/rules/misc.clj b/src/kibit/rules/misc.clj index 9de7574..ca851f7 100644 --- a/src/kibit/rules/misc.clj +++ b/src/kibit/rules/misc.clj @@ -42,8 +42,7 @@ [(logic/== expr (list 'fn* args (logic/llist fun args)))]) (logic/pred fun #(or (keyword? %) (and (symbol? %) - (not= \. (first (str %))) - (not-any? #{\/} (str %))))))) + (not-any? #{\/ \.} (str %))))))) #(logic/== % fun)]) ;; Java stuff