[Haskell-cafe] Retrospective on 2008?

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Thu Dec 11 08:22:01 EST 2008


On Thu, 2008-12-11 at 14:00 +0100, Henk-Jan van Tuyl wrote:
> On Thu, 11 Dec 2008 06:35:24 +0100, Don Stewart <dons at galois.com> wrote:
> 
> >
> >     * Hackage currently holds 914 applications and libraries.
> 
> Using the commands:
>    cabal update
>    cabal list | fgrep " * " | wc
> I counted 927 entries.

The most reliable method is to use cabal list --simple-output

eg all package versions:
$ cabal list --simple-output | wc -l
2794

distinct package names
$ cabal list --simple-output | cut -d' ' -f 1 | uniq | wc -l
932

top 10 most uploaded packages
$ cabal list --simple-output | cut -d' ' -f 1 | uniq -c | sort -n | tail
     14 hake
     14 mueval
     16 haskell-src-exts
     18 category-extras
     18 HXQ
     19 cabal2arch
     20 regexpr
     20 sessions
     21 reactive
     31 panda

There's also http://hackage.haskell.org/cgi-bin/hackage-scripts/stats
though for some reason it does not agree with us.

Duncan



More information about the Haskell-Cafe mailing list