[Haskell-cafe] Re: haddock-2.3.0 literate comments discarded from .lhs input

2009-02-08 Thread Duncan Coutts
On Sun, 2009-02-08 at 19:18 +0100, Andrea Vezzosi wrote: > I did work on this and i simplified the code a lot fixing > inconsistencies and making more explicit what how each component > contributes to the arguments to haddock. Much appreciated. > Aside from this, should we also do the unliting an

[Haskell-cafe] Re: haddock-2.3.0 literate comments discarded from .lhs input

2009-02-08 Thread Andrea Vezzosi
I did work on this and i simplified the code a lot fixing inconsistencies and making more explicit what how each component contributes to the arguments to haddock. Aside from this, should we also do the unliting and cpp from Cabal on the sources passed to HsColour? On Fri, Feb 6, 2009 at 11:27 PM,

[Haskell-cafe] Re: haddock-2.3.0 literate comments discarded from .lhs input

2009-02-07 Thread Alistair Bayley
2009/2/6 Duncan Coutts : > > Yes, against my better judgement the code in Cabal for haddock-2.x does > not run cpp or unliting like it does for haddock-0.x. Instead it assumes > that haddock-2.x will do all the cpp and unliting itself. Obviously this > mean the special unliting mode that Cabal prov

[Haskell-cafe] Re: haddock-2.3.0 literate comments discarded from .lhs input

2009-02-06 Thread Duncan Coutts
On Fri, 2009-02-06 at 11:48 +0100, David Waern wrote: > 2009/2/6 Alistair Bayley : > >>> [1 of 1] Compiling Test.Fail( Test\Fail.hs, Test\Fail.o ) > >>> > >>> Test\Fail.hs:11:26: > >>>Can't make a derived instance of `Typeable Fail' > >>> (You need -XDeriveDataTypeable to derive an

[Haskell-cafe] Re: haddock-2.3.0 literate comments discarded from .lhs input

2009-02-06 Thread David Waern
2009/2/6 Alistair Bayley : >>> [1 of 1] Compiling Test.Fail( Test\Fail.hs, Test\Fail.o ) >>> >>> Test\Fail.hs:11:26: >>>Can't make a derived instance of `Typeable Fail' >>> (You need -XDeriveDataTypeable to derive an instance for this class) >>>In the data type declaration for

[Haskell-cafe] Re: haddock-2.3.0 literate comments discarded from .lhs input

2009-02-06 Thread Alistair Bayley
>> [1 of 1] Compiling Test.Fail( Test\Fail.hs, Test\Fail.o ) >> >> Test\Fail.hs:11:26: >>Can't make a derived instance of `Typeable Fail' >> (You need -XDeriveDataTypeable to derive an instance for this class) >>In the data type declaration for `Fail' > > Are you processing the

[Haskell-cafe] Re: haddock-2.3.0 literate comments discarded from .lhs input

2009-02-06 Thread David Waern
2009/2/6 Alistair Bayley : > I have this test case for Haddock (2.3.0): > > -- > > | > Module : Test.Haddock > Copyright : (c) 2009 Alistair Bayley > License : BSD-style > Maintainer : alist...@abayley.org > Stability : stable > Por