RFC: provide patch-level information at __GLASGOW_HASKELL__

Herbert Valerio Riedel hvriedel at gmail.com
Fri Apr 11 08:47:11 UTC 2014


On 2014-04-11 at 10:38:00 +0200, Simon Marlow wrote:

[...]

> We could add a __GLASGOW_HASKELL_PATCHLEVEL__ macro, but I'd like to
> understand more about why people need this, and whether we should be
> more careful about what we do in patchlevel releases.

What about the use-case when you want to workaround a compiler bug that
existed for GHC==7.6.1 but which was fixed for GHC>=7.6.2 (and thus
doesn't need the workaround anymore)?


More information about the ghc-devs mailing list