Re: Who defines __GLASGOW_HASKELL__, __HADDOCK__, etc?

18 Sep
2008
18 Sep
'08
8:51 a.m.
On Thu, Sep 18, 2008 at 12:30:42AM +0100, Claus Reinke wrote:
So far, I had assumed that every tool defined its own macro, but it seems that __GLASGOW_HASKELL__ is defined by ghc and by cabal, while __HADDOCK__ is defined only by the latter. Is that right?
Yes, Cabal defines __HADDOCK__ only for haddock1. haddock2 is supposed to be compatible with GHC.
6090
Age (days ago)
6090
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ross Paterson