On 4 March 2012 19:23, Jonas <[email protected]> wrote:
> Kibit[1] is a simple code analysis tool (and leiningen plugin) which
> someone hopefully will find interesting or useful. The purpose of the
> tool is to tell its users that "Hey, There's already a function for
> that!".
That sounds really cool.
I did spot a few odd rules in control_structures.clj, though:
(if ?x ?y nil) when
(if ?x nil ?y) when-not
(if (not ?x) ?y ?z) if-not
The when form is usually use in place of (if x (do y z)). It's
perfectly valid to write (if x y), which is semantically equivalent to
(if x y nil).
- James
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en