Re: 2 Patches for Haddock

2009-02-28 Thread Duncan Coutts
On Sat, 2009-02-28 at 01:13 +, Ian Lynagh wrote: > On Wed, Feb 25, 2009 at 12:28:53AM +, Thomas Schilling wrote: > > > > The first patch defines a preprocessor constant; > > Regarding the use of __GHC_PATCHLEVEL__ in haddock, with recent versions > of Cabal you can instead use MIN_VERSION

Re: 2 Patches for Haddock

2009-02-27 Thread Ian Lynagh
On Wed, Feb 25, 2009 at 12:28:53AM +, Thomas Schilling wrote: > > The first patch defines a preprocessor constant; Regarding the use of __GHC_PATCHLEVEL__ in haddock, with recent versions of Cabal you can instead use MIN_VERSION_ghc defined in dist/build/autogen/cabal_macros.h, e.g.: /* pack

Re: 2 Patches for Haddock

2009-02-25 Thread David Waern
2009/2/25 Thomas Schilling : > I think I'm not subscribed to the haddock mailing list, so I'm posting this > here. > > The attached two patches fix the Template Haskell bugs with Haddock and a > recent stable release.  I already pushed the patch to GHC stable; these two > patches enable the code pa

2 Patches for Haddock

2009-02-24 Thread Thomas Schilling
I think I'm not subscribed to the haddock mailing list, so I'm posting this here. The attached two patches fix the Template Haskell bugs with Haddock and a recent stable release. I already pushed the patch to GHC stable; these two patches enable the code path in Haddock to make use of th