Re: [Haskell-cafe] __GLASGOW_HASKELL__ macro in 7.2.1

2011-10-14 Thread JP Moresmau
Thank you both, I misread that page on the versions and didn't see the difference between minor version number and release number. So I can confirm, my 7.0.3 install gives me 700 and my 7.2.1 gives me 702. Everything is good. Thanks! JP On Fri, Oct 14, 2011 at 5:13 PM, Daniel Fischer wrote: > On

Re: [Haskell-cafe] __GLASGOW_HASKELL__ macro in 7.2.1

2011-10-14 Thread Daniel Fischer
On Friday 14 October 2011, 16:47:45, JP Moresmau wrote: > Hello list, > I must be doing something stupid, but what? > > ghc --version > The Glorious Glasgow Haskell Compilation System, version 7.2.1 > > ghc -E -optP-dM -cpp Main.hs (per > http://www.haskell.org/ghc/docs/latest/html/users_guide/op

Re: [Haskell-cafe] __GLASGOW_HASKELL__ macro in 7.2.1

2011-10-14 Thread Bas van Dijk
On 14 October 2011 16:47, JP Moresmau wrote: > I must be doing something stupid, but what? Nothing stupid, you're just misinterpreting the value of __GLASGOW_HASKELL__. See: http://www.haskell.org/ghc/docs/latest/html/users_guide/version-numbering.html for the correct interpretation. Bas __

[Haskell-cafe] __GLASGOW_HASKELL__ macro in 7.2.1

2011-10-14 Thread JP Moresmau
Hello list, I must be doing something stupid, but what? ghc --version The Glorious Glasgow Haskell Compilation System, version 7.2.1 ghc -E -optP-dM -cpp Main.hs (per http://www.haskell.org/ghc/docs/latest/html/users_guide/options-phases.html) {-# LINE 1 "Main.hs" #-} #define mingw32_HOST_OS 1 #