bug in System.Info in ghc 6.8.2 and ghc 6.10.1

28 Feb
2009
28 Feb
'09
11:59 a.m.
It seems that System.Info.compilerVersion doesn't know the minor release number of ghc. This looks like a bug to me. -- David Roundy

28 Feb
28 Feb
2:24 p.m.
On Sat, 2009-02-28 at 08:59 -0800, David Roundy wrote:
It seems that System.Info.compilerVersion doesn't know the minor release number of ghc. This looks like a bug to me.
Last time I asked I was told it was by design. Similarly the __GLASGOW_HASKELL__ cpp macro does not tell you the patch level. I believe the rationale is that minor ghc versions are compatible (though because they're not really 100% in all cases they did add a patch level cpp macro). So you can try opening a ghc ticket, see if you can persuade them to reconsider. Duncan
5925
Age (days ago)
5925
Last active (days ago)
1 comments
2 participants
participants (2)
-
David Roundy
-
Duncan Coutts