cvs commit: fptools/libraries/Cabal Makefile fptools/libraries/Cabal/Distribution Extension.hs PackageDescription.hs Setup.hs Simple.hs Version.hs fptools/libraries/Cabal/Distribution/Compat Directory.hs Error.hs Exception.hs FilePath.hs RawSystem.hs

Ross Paterson ross at soi.city.ac.uk
Thu Jan 6 06:13:22 EST 2005


> I guess it should be something like
> 
>   #if __HUGS__ >= XXX  || __GLAGSGOW_HASKELL__ >= 603
> 
> since a recent Hugs will have Data.Version.  Does __HUGS__ have a
> version value?

No, and I don't think it's worth the effort to support anything but the
most recent version of Hugs, even if it's not released yet.

BTW, the preprocessing for Hugs does support {-# OPTIONS -cpp #-}
and even {-# LANGUAGE CPP #-}


More information about the Cvs-libraries mailing list