cvs commit: fptools/libraries/base/System Info.hs

Simon Marlow simonmar at haskell.org
Fri Jan 28 08:54:57 EST 2005


simonmar    2005/01/28 05:54:56 PST

  Modified files:
    libraries/base/System Info.hs 
  Log:
  System.Info now exports:
  
    compilerName :: String
    compilerVersion :: Data.Version.Version
  
  as requested ages ago by Template Haskell users.  This allows
  "conditional compilation" based on the GHC version in TH code.
  
  I've implemented compilerName for all compilers (I hope).  Other
  compiler vendors are encouraged to provide their own implementations
  of compilerVersion.
  
  Revision  Changes    Path
  1.9       +3 -1      fptools/libraries/base/System/Info.hs


More information about the Cvs-libraries mailing list