Neat!

Maybe also add it to the listing at 
<https://github.com/technomancy/leiningen/wiki/Plugins>.

-- John



On Tuesday, July 9, 2013 3:11:16 AM UTC-4, Michał Marczyk wrote:
>
> ...and here comes 0.0.2 with non-buggy Var counts: 
>
> Varspotting report for built-in namespaces: 
> =========================================== 
>
> |                  Spotter | Var count | 
> |--------------------------+-----------| 
> |                   Public |       844 | 
> |                  Unbound |         6 | 
> |                  Dynamic |        39 | 
> |         Proper functions |       670 | 
> |                   Macros |        99 | 
> |              Non-fn IFns |        17 | 
> | Dynamic proper functions |         6 | 
>
> Cheers, 
> Michał 
>
>
> On 9 July 2013 07:38, Michał Marczyk <michal....@gmail.com <javascript:>> 
> wrote: 
> > Hi, 
> > 
> > Inspired by this Stack Overflow question: 
> > 
> >   Roughly how many functions are in the Clojure core libraries? 
> >   
> http://stackoverflow.com/questions/17524906/roughly-how-many-functions-are-in-the-clojure-core-libraries
>  
> > 
> > I have released Varspotting, a Leiningen plugin and library for 
> > summarizing Var counts. Perhaps the default report on Clojure Vars 
> > (1.5.1) will best serve to illustrate the purpose: 
> > 
> > Varspotting report for clojure.core: 
> > ==================================== 
> > 
> > |                  Spotter | Var count | 
> > |--------------------------+-----------| 
> > |                   Public |       591 | 
> > |                  Unbound |         2 | 
> > |                  Dynamic |        11 | 
> > |         Proper functions |       475 | 
> > |                   Macros |        76 | 
> > |              Non-fn IFns |         6 | 
> > | Dynamic proper functions |         1 | 
> > 
> > Varspotting report for built-in namespaces: 
> > =========================================== 
> > 
> > |                  Spotter | Var count | 
> > |--------------------------+-----------| 
> > |                   Public |       831 | 
> > |                  Unbound |         6 | 
> > |                  Dynamic |        39 | 
> > |         Proper functions |       658 | 
> > |                   Macros |        98 | 
> > |              Non-fn IFns |        17 | 
> > | Dynamic proper functions |         6 | 
> > 
> > You can have Varspotting print the above in your terminal if you add 
> > 
> >   [varspotting "0.0.1"] 
> > 
> > to :plugins in your ~/.lein/profiles.clj and say lein varspotting 
> > (inside or outside of a project)! Add a list of namespace names as 
> > arguments to lein varspotting to obtain a report on those namespaces. 
> > 
> > The source is available at 
> > 
> >   https://github.com/michalmarczyk/varspotting 
> > 
> > Custom reports can be generated as well. To this end, varspotting.core 
> > includes what I hope is a fairly extensive collection of docstrings; 
> > the README points out the key Vars. 
> > 
> > Cheers, 
> > Michał 
>

-- 
-- 
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 this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to