From 6b9db7d43fa08bc6de45af728e7dc20735f7cc34 Mon Sep 17 00:00:00 2001 From: Brandon Chinn <brandonchinn178@gmail.com> Date: Sun, 2 Jul 2023 22:31:04 +0000 Subject: [PATCH] Fix docs for __GLASGOW_HASKELL_FULL_VERSION__ macro --- docs/users_guide/phases.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/users_guide/phases.rst b/docs/users_guide/phases.rst index f8d2e600e429..bb2bcfd577eb 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__ -- GitLab