kibit
kibit copied to clipboard
There's a function for that!
to keep from pulling in clojure 1.6 just for kibit
It would be pretty cool if Kibit could suggest a transducer replacement for threaded sequence code like `(->>`.
Keep: > Returns a lazy sequence of the non-nil results of (f item). Note, this means false return values will be included. This is a good replacement for `(->> (map...
Hi, When you have the following code: ``` (reduce #(and %1 %2) true [true false]) ``` this will complain: ``` Consider using: and instead of: #(and %1 %2) ``` But...
Refers to #140
The following code ``` (loop [] (when (> 2 1) (println "Continuing...") (Thread/sleep 300) (recur))) ``` generates the following Kibit warning: ``` At /Users/jjacobsen/.../breakkibit/src/breakkibit/core.clj:4: Consider using: (while (> 2 1)...
@bbatsov has a nice written [Clojure style guidelines](https://github.com/bbatsov/clojure-style-guide) repo and there is the default [Clojure guidelines](http://dev.clojure.org/display/design/Library+Coding+Standards) that cover many aspects that could be seen as generalized/community accepted, and being particularly...
(into [](map ....) or (vec (map ...) => (mapv ...)