[project @ 2005-01-28 13:54:56 by simonmar]
authorsimonmar <unknown>
Fri, 28 Jan 2005 13:54:56 +0000 (13:54 +0000)
committersimonmar <unknown>
Fri, 28 Jan 2005 13:54:56 +0000 (13:54 +0000)
commitca6b0a3e29400e95514169cd2735768965be1396
treea3704da0534c53ae86499f7717dd7edeee7cbd8f
parentec3ba94b254bd444e7a1c560c1d91c4879948c69
[project @ 2005-01-28 13:54:56 by simonmar]
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.
System/Info.hs