Re: [Haskell-cafe] HackageDB: Haddock parse failure

2010-09-28 Thread David Waern
Den 27 september 2010 18:22 skrev Jonas Almström Duregård
jonas.dureg...@chalmers.se:
 HackageDB reports a build failure for happy-meta-0.1.1
 (http://hackage.haskell.org/package/happy-meta-0.1.1), but from the
 log it seems that the failure occurs when building the documentation.

 The error is
 src/LALR.lhs:230:2: parse error on input `numberSets'

 I'm guessing there is no syntax error in this file (it is taken from
 Happy), but rather an error in Haddock?

I suspect this has something to do with the comment before that line.
I might be wrong but I think Cabal turns the text in literal haskell
files into haddock comments. If that's the case then you have to be
careful to not use haddock comment markup in the wrong way.

David
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] HackageDB: Haddock parse failure

2010-09-27 Thread Jonas Almström Duregård
HackageDB reports a build failure for happy-meta-0.1.1
(http://hackage.haskell.org/package/happy-meta-0.1.1), but from the
log it seems that the failure occurs when building the documentation.

The error is
src/LALR.lhs:230:2: parse error on input `numberSets'

I'm guessing there is no syntax error in this file (it is taken from
Happy), but rather an error in Haddock?

Also, perhaps HackageDB should ignore errors in building the
documentation? Currently the reported build failure propagates to the
dependencies of the library...

/J
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] HackageDB: Haddock parse failure

2010-09-27 Thread Ross Paterson
On Mon, Sep 27, 2010 at 06:22:09PM +0200, Jonas Almström Duregård wrote:
 Also, perhaps HackageDB should ignore errors in building the
 documentation? Currently the reported build failure propagates to the
 dependencies of the library...

The only reason it's building is to generate the documentation, and to do
that you need the interface files haddock creates for the pre-requisite
packages.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe