Re: [ANN] kibit, A static code analyzer

2012-03-05 Thread Chip Collier
I'm picturing flymake-clojure in our futures. On 03/04/2012 05:05 PM, Ambrose Bonnaire-Sergeant wrote: What an awesome idea! Nice work Jonas. Ambrose On Mon, Mar 5, 2012 at 3:23 AM, Jonas > wrote: Kibit[1] is a simple code analysis tool (and leiningen plug

Re: [ANN] kibit, A static code analyzer

2012-03-05 Thread Jonas
On Monday, March 5, 2012 2:51:23 PM UTC+2, David Nolen wrote: > > It should unify: > > (foo ?x . ?y) > > If it doesn't we should open up a ticket for that. > It seems to work, thanks! https://github.com/jonase/kibit/commit/4ec52462d3920470be63916928021f266f838f1b -- You received this messag

Re: [ANN] kibit, A static code analyzer

2012-03-05 Thread David Nolen
It should unify: (foo ?x . ?y) If it doesn't we should open up a ticket for that. On Sunday, March 4, 2012, Jonas wrote: > > > On Sunday, March 4, 2012 9:39:19 PM UTC+2, David Nolen wrote: >> >> This is just ... fantastic! :D >> > > David, quick question about the core.logic unifier. Is it poss

Re: [ANN] kibit, A static code analyzer

2012-03-04 Thread Tassilo Horn
Jonas writes: Hi Jonas, > 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!". It's awesome! It even caught a rather exotic ca

Re: [ANN] kibit, A static code analyzer

2012-03-04 Thread Jonas
On Monday, March 5, 2012 12:44:14 AM UTC+2, Alex Baranosky wrote: > > Hi Jonas, > > Kibit just helped me find some good uses for inc, pos? when and when-not > in Midje, thanks :) > > https://github.com/marick/Midje/commit/b0525b7237bf615e3013317d2a0c2fc56f14bfe2 > That's very nice to hear! -

Re: [ANN] kibit, A static code analyzer

2012-03-04 Thread Jonas
On Sunday, March 4, 2012 9:39:19 PM UTC+2, David Nolen wrote: > > This is just ... fantastic! :D > > David, quick question about the core.logic unifier. Is it possible to unify on a sequence? For example (when ?x ??body) would unify with both (when (some pred) a) and (when (

Re: [ANN] kibit, A static code analyzer

2012-03-04 Thread Ambrose Bonnaire-Sergeant
What an awesome idea! Nice work Jonas. Ambrose On Mon, Mar 5, 2012 at 3:23 AM, Jonas 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 fun

Re: [ANN] kibit, A static code analyzer

2012-03-04 Thread Moritz Ulrich
It would be awesome if this would be integrated in the REPL of in Clojure itself so it automatically checks *every* form it compiles. On Sun, Mar 4, 2012 at 23:44, Alex Baranosky wrote: > Hi Jonas, > > Kibit just helped me find some good uses for inc, pos? when and when-not in > Midje, thanks :)

Re: [ANN] kibit, A static code analyzer

2012-03-04 Thread Alex Baranosky
Hi Jonas, Kibit just helped me find some good uses for inc, pos? when and when-not in Midje, thanks :) https://github.com/marick/Midje/commit/b0525b7237bf615e3013317d2a0c2fc56f14bfe2 On Sun, Mar 4, 2012 at 5:14 PM, Alex Baranosky < alexander.barano...@gmail.com> wrote: > Indeed very cool idea.

Re: [ANN] kibit, A static code analyzer

2012-03-04 Thread Alex Baranosky
Indeed very cool idea. Thanks. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from

Re: [ANN] kibit, A static code analyzer

2012-03-04 Thread David Nolen
This is just ... fantastic! :D David On Sun, Mar 4, 2012 at 2:23 PM, Jonas 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

Re: [ANN] kibit, A static code analyzer

2012-03-04 Thread James Reeves
On 4 March 2012 19:23, Jonas 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

[ANN] kibit, A static code analyzer

2012-03-04 Thread Jonas
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!". Kibit uses the core.logic[2] unifier to search for patterns of code for which there