Recent changes to record the GHC version in Bluetcl use the __GLASGOW_HASKELL_FULL_VERSION__ CPP macro. The GHC docs are misleading and can be interpreted as suggesting that this macro has been around since 7.10, but actually it was introduced in 9.0. (It is other macros mentioned below it that have been around since 7.10.) For older GHC, we can construct the version from other macros (that have been around since at least 7.10).
Recent changes to record the GHC version in Bluetcl use the
__GLASGOW_HASKELL_FULL_VERSION__
CPP macro. The GHC docs are misleading and can be interpreted as suggesting that this macro has been around since 7.10, but actually it was introduced in 9.0. (It is other macros mentioned below it that have been around since 7.10.) For older GHC, we can construct the version from other macros (that have been around since at least 7.10).