diff --git a/docs/users_guide/phases.rst b/docs/users_guide/phases.rst index f8d2e600e429e46fa68c863211c25254d9155615..bb2bcfd577ebb3769b4526362da14ce0fc47567b 100644 --- a/docs/users_guide/phases.rst +++ b/docs/users_guide/phases.rst @@ -386,10 +386,13 @@ defined by your local GHC installation, the following trick is useful: ``__GLASGOW_HASKELL_FULL_VERSION__`` .. index:: single: __GLASGOW_HASKELL_FULL_VERSION__ + This macro exposes the full version string. For instance: ``__GLASGOW_HASKELL_FULL_VERSION__==8.11.0.20200319``. Its value comes from the ``ProjectVersion`` Autotools variable. + Added in GHC 9.0.1 + ``__GLASGOW_HASKELL_PATCHLEVEL1__``; \ ``__GLASGOW_HASKELL_PATCHLEVEL2__`` .. index:: single: __GLASGOW_HASKELL_PATCHLEVEL2__