[Haskell-cafe] 1,000 packages, so let's build a few!
David Waern
david.waern at gmail.com
Sat Feb 7 05:54:12 EST 2009
2009/1/31 Andrew Coppin <andrewcoppin at btinternet.com>:
> In celebration of Hackage reachin over 1,000 unique packages, I decided that
> I would re-visit the problem of attempting to build them on Windows.
>
> I began by removing all existing Haskellness from my PC. I now have a
> vanilla Windows XP (32-bit) system with Service Pack 3. So, let's see what
> we can do here...
>
> - Install GHC 6.10.1. As you'd expect, no issues here.
>
> - Now, let's install stream-fusion. First let me ch... woah! What the hell?
>
> OK, it seems that Google is temporarily "broken". (All websites show up as
> "this site may damange your computer".) Obviously this has nothing to do
> with Haskell, but it makes navigating Hackage moderately more tedious. Oh
> well, anyway, where was I?
>
> Ah yes, I already have the tarball for stream-fusion-0.1.1, but I see that
> the latest release is 0.1.2.1. (Unfortunately, there doesn't appear to be
> any way to determine what the difference is between the two versions...)
>
> - Right, I've got the tarball for stream-fusion. Now let's see if it will
> install...
>
> J:\Haskell\unpack> runhaskell Setup configure
> J:\Haskell\unpack> runhaskell Setup build
> J:\Haskell\unpack> runhaskell Setup install
> J:\Haskell\unpack> ghc-pkg list
> ...stream-fusion-0.1.2.1...
>
> OK, nothing much wrong with that then. :-D
>
> - Hmm, doesn't GHC 6.10.1 now come with Haddock included? I wonder if
> there's a way to ask Cabal to build the docs for me...
>
> [Grr! Google is still busted.]
>
> Ah, yes there is. OK, let's try this:
>
> J:\Haskell\unpack> runhaskell Setup haddock
> ...
> Data\Stream.hs:292:33: parse error on input `!'
> haddock: Failed to check module: Data.Stream
>
> Uh... OK. So I guess I *won't* build the docs for that one then. :-/ Oh
> well, maybe it's a one-off failure? Let's try some more packages...
The problem there is that stream-fusion is trying to put documentation
on individual data constructor arguments which is not supported by
Haddock.
David
More information about the Haskell-Cafe
mailing list