Re: Statistics on library imports (was: Re: [Haskell-cafe] Is there a printable copy of the (GHC) library references anywhere?)

2006-12-28 Thread Henk-Jan van Tuyl
I pushed the Send button too fast, you need the attached script as well. On Thu, 28 Dec 2006 23:08:38 +0100, David House <[EMAIL PROTECTED]> wrote: On 28/12/06, Henk-Jan van Tuyl <[EMAIL PROTECTED]> wrote: In the following table, the number on the left indicates the number of imports found fo

Re: Statistics on library imports (was: Re: [Haskell-cafe] Is there a printable copy of the (GHC) library references anywhere?)

2006-12-28 Thread Henk-Jan van Tuyl
Here are the scripts; they are written in Rexx, because I have bad experience with reading through a lot of files, with Haskell (memory leaks). You can download the Rexx interpreter Regina from SourceForge to run the scripts. If you rewrite them in Haskell, I would like to see the result.

Re: Statistics on library imports (was: Re: [Haskell-cafe] Is there a printable copy of the (GHC) library references anywhere?)

2006-12-28 Thread David House
On 28/12/06, Henk-Jan van Tuyl <[EMAIL PROTECTED]> wrote: In the following table, the number on the left indicates the number of imports found for each library. Care to share your script you used to produce these numbers? -- -David House, [EMAIL PROTECTED] _

Re: [Haskell-cafe] Is there a printable copy of the (GHC) library references anywhere?

2006-12-28 Thread Henk-Jan van Tuyl
I wrote "A tour of the Haskell monad functions" last year, see http://members.chello.nl/hjgtuyl/tourdemonad.html Regards, Henk-Jan van Tuyl On Wed, 27 Dec 2006 22:00:24 +0100, Neil Mitchell <[EMAIL PROTECTED]> wrote: If someone wrote a tour of Data.List/Data.Maybe as well as a few commo

Statistics on library imports (was: Re: [Haskell-cafe] Is there a printable copy of the (GHC) library references anywhere?)

2006-12-28 Thread Henk-Jan van Tuyl
About the usefulness of libraries: I just made some statistics on imports in Haskell code; I have a lot of Haskell source code on my disk (mostly downloaded). In the following table, the number on the left indicates the number of imports found for each library. Top twenty of imports: 418 Data.

Re: [Haskell-cafe] Is there a printable copy of the (GHC) library references anywhere?

2006-12-28 Thread Paul Moore
On 12/27/06, Neil Mitchell <[EMAIL PROTECTED]> wrote: Only a few of the standard libraries are useful unless you are doing something specific. i.e. Data.Maybe is generally useful, but Control.Monad.State is only useful if you are using a state monad. Hmm, I'm not sure I agree with you here. Yes

Re: [Haskell-cafe] Is there a printable copy of the (GHC) library references anywhere?

2006-12-27 Thread David House
On 27/12/06, Neil Mitchell <[EMAIL PROTECTED]> wrote: If someone wrote a tour of Data.List/Data.Maybe as well as a few common functions out of Control.Monad that would probably make a nice companion to a tour of the prelude. Maybe: http://en.wikibooks.org/wiki/Haskell/Hierarchical_libraries/May

Re[2]: [Haskell-cafe] Is there a printable copy of the (GHC) library references anywhere?

2006-12-27 Thread Bulat Ziganshin
Hello Paul, Wednesday, December 27, 2006, 11:53:33 PM, you wrote: > You're right - if I think about it, I'm not really looking for "the > documentation", but more a paper or article which is "a tour of the > GHC standard library". That's something that would be really useful i just read library

Re: [Haskell-cafe] Is there a printable copy of the (GHC) library references anywhere?

2006-12-27 Thread Neil Mitchell
Hi Paul, You're right - if I think about it, I'm not really looking for "the documentation", but more a paper or article which is "a tour of the GHC standard library". A tour of the Prelude: http://undergraduate.csse.uwa.edu.au/units/230.301/lectureNotes/tourofprelude.html Only a few of the

Re: [Haskell-cafe] Is there a printable copy of the (GHC) library references anywhere?

2006-12-27 Thread Paul Moore
On 12/27/06, Kirsten Chevalier <[EMAIL PROTECTED]> wrote: (Personally I wouldn't find it at all useful to have a printed copy of the library docs, even though I do like printed manuals, because I only ever consult them to look up a specific function or type, which is a lot easier to do in the hyp

Re: [Haskell-cafe] Is there a printable copy of the (GHC) library references anywhere?

2006-12-27 Thread Kirsten Chevalier
On 12/27/06, Paul Moore <[EMAIL PROTECTED]> wrote: I'd like to print out a copy of the GHC manuals, for reference. I've got the Haskell 98 report, and the GHC user guide, but the only documentation I've found for the hierarchical libraries is in HTML format (generated from Haddock). Is there a p

[Haskell-cafe] Is there a printable copy of the (GHC) library references anywhere?

2006-12-27 Thread Paul Moore
I'd like to print out a copy of the GHC manuals, for reference. I've got the Haskell 98 report, and the GHC user guide, but the only documentation I've found for the hierarchical libraries is in HTML format (generated from Haddock). Is there a printable (preferably PDF) form of the library docume