#ifdef considered harmful (was: DData)

Graham Klyne GK at ninebynine.org
Tue Apr 6 18:12:30 EDT 2004


At 16:56 06/04/04 +0200, Wolfgang Jeltsch wrote:
>Am Dienstag, 6. April 2004 11:39 schrieb Graham Klyne:
> > Please, no #ifdef's in standard library code!
>
>You need them if you want you use deriving clauses and Haddock at the same
>time, since Haddock doesn't fully understand deriving.

This particular example gives me a certain tail-wags-dog feeling...

#g



------------
Graham Klyne
For email:
http://www.ninebynine.org/#Contact



More information about the Libraries mailing list