[Haskell-cafe] A little toy of Haskell Trivia

2008-02-20 Thread Steve Lihn
I proudly announce a little toy that lists the frequency of modules being imported by other modules. Do you know Control.Monad is the most frequently imported module? I did not! Currently it only includes GHC 6.8 core library. If you have any idea how to parse through HackageDB code, please let me

Re: [Haskell-cafe] A little toy of Haskell Trivia

2008-02-20 Thread Wolfgang Jeltsch
Am Mittwoch, 20. Februar 2008 22:22 schrieb Steve Lihn: > I proudly announce a little toy that lists the frequency of modules > being imported by other modules. Do you know Control.Monad is the most > frequently imported module? I did not! This doesn’t surprise me very much. What surprises me mor

Re: [Haskell-cafe] A little toy of Haskell Trivia

2008-02-20 Thread Ross Paterson
On Wed, Feb 20, 2008 at 09:22:58PM +, Steve Lihn wrote: > I proudly announce a little toy that lists the frequency of modules > being imported by other modules. Do you know Control.Monad is the most > frequently imported module? I did not! > > Currently it only includes GHC 6.8 core library. I

Re: [Haskell-cafe] A little toy of Haskell Trivia

2008-02-20 Thread Benjamin L. Russell
Rewriting that script in Haskell could be an interesting exercise. Do you have the source code? Benjamin L. Russell --- Steve Lihn <[EMAIL PROTECTED]> wrote: > I proudly announce a little toy that lists the > frequency of modules > being imported by other modules. Do you know > Control.Monad is

Re: [Haskell-cafe] A little toy of Haskell Trivia

2008-02-20 Thread Henning Thielemann
On Thu, 21 Feb 2008, Wolfgang Jeltsch wrote: > Am Mittwoch, 20. Februar 2008 22:22 schrieb Steve Lihn: > > I proudly announce a little toy that lists the frequency of modules > > being imported by other modules. Do you know Control.Monad is the most > > frequently imported module? I did not! > >

Re: [Haskell-cafe] A little toy of Haskell Trivia

2008-02-21 Thread Ross Paterson
On Wed, Feb 20, 2008 at 09:22:58PM +, Steve Lihn wrote: > I proudly announce a little toy that lists the frequency of modules > being imported by other modules. Do you know Control.Monad is the most > frequently imported module? I did not! > > Currently it only includes GHC 6.8 core library. I

Re: [Haskell-cafe] A little toy of Haskell Trivia

2008-02-23 Thread Steve Lihn
> > There's a link on the HackageDB Introduction page that gets you the > latest versions of all packages (30MB). Ross, Thanks for the archive URL. I parsed through all the hackagedb modules. I also added the display of repository source (ghc, hdb) and package source. HackageDB is 3-4 times bigger

Re: [Haskell-cafe] A little toy of Haskell Trivia

2008-02-23 Thread Ross Paterson
On Sat, Feb 23, 2008 at 10:59:40AM -0500, Steve Lihn wrote: > I parsed through all the hackagedb > modules. I also added the display of repository source (ghc, hdb) and > package source. HackageDB is 3-4 times bigger than GHC core. The > result is interesting, looking at the most used modules move

Re: [Haskell-cafe] A little toy of Haskell Trivia

2008-02-24 Thread Steve Lihn
Ross, I changed the query to "count(distinct package)" and indeed the "noises" of same package imports are filtered out. The two top-10 lists now look somewhat similar. GHC only: http://haskell.ecoin.net/cgi-bin/modules.pl?src=ghc 1 Control.Monad 22 2 Data.Char 20 3 System.IO 17 4 Data.List 16 5 D

Re[2]: [Haskell-cafe] A little toy of Haskell Trivia

2008-02-21 Thread Bulat Ziganshin
Hello Wolfgang, Thursday, February 21, 2008, 2:45:43 AM, you wrote: >> I proudly announce a little toy that lists the frequency of modules >> being imported by other modules. Do you know Control.Monad is the most >> frequently imported module? I did not! > This doesn’t surprise me very much. Wha

Re: Re[2]: [Haskell-cafe] A little toy of Haskell Trivia

2008-02-21 Thread Brandon S. Allbery KF8NH
On Feb 21, 2008, at 5:24 , Bulat Ziganshin wrote: Hello Wolfgang, Thursday, February 21, 2008, 2:45:43 AM, you wrote: I proudly announce a little toy that lists the frequency of modules being imported by other modules. Do you know Control.Monad is the most frequently imported module? I did