Skip to content

Commit

Permalink
Removed anononymous fn rules
Browse files Browse the repository at this point in the history
  • Loading branch information
jonase committed Mar 15, 2012
1 parent 058c7c6 commit add7872
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/jonase/kibit/rules/misc.clj
Expand Up @@ -13,9 +13,9 @@
(filter (complement ?pred) ?coll) (remove ?pred ?coll)
(filter #(not (?pred ?x)) ?coll) (remove ?pred ?coll)

;; Unneeded anonymous functions
(fn ?args (?fun . ?args)) ?fun
(fn* ?args (?fun . ?args)) ?fun
;; Unneeded anonymous functions -- see bug #16
;; (fn ?args (?fun . ?args)) ?fun
;; (fn* ?args (?fun . ?args)) ?fun

;; do
(do ?x) ?x
Expand Down

0 comments on commit add7872

Please sign in to comment.