On 29 Oct 2014, at 00:24, David Feuer wrote:

> A lot of code in GHC.List and perhaps elsewhere compiles differently 
> depending on whether USE_REPORT_PRELUDE is defined. Not all code differing 
> from the Prelude implementation. Furthermore, I don't know to what extent, if 
> any, such code actually works these days. Some of it certainly was not usable 
> for *years* because GHC.List did not import GHC.Num.

I'm not completely certain, but I have a vague feeling that the Haskell Report 
appendices that define the standard libraries might be auto-generated 
(LaTeX/HTML/etc) from the base library sources, and might use these #ifdefs to 
get the right version of the code.

Regards,
    Malcolm
_______________________________________________
ghc-devs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to