[Git][ghc/ghc][master] Fix docs for __GLASGOW_HASKELL_FULL_VERSION__ macro
Marge Bot (@marge-bot)
gitlab at gitlab.haskell.org
Wed Jul 5 15:44:36 UTC 2023
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
6b9db7d4 by Brandon Chinn at 2023-07-05T11:44:03-04:00
Fix docs for __GLASGOW_HASKELL_FULL_VERSION__ macro
- - - - -
1 changed file:
- docs/users_guide/phases.rst
Changes:
=====================================
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__
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/6b9db7d43fa08bc6de45af728e7dc20735f7cc34
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/6b9db7d43fa08bc6de45af728e7dc20735f7cc34
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230705/a8b60cad/attachment-0001.html>
More information about the ghc-commits
mailing list