diff options
author | Hécate <hecate+gitlab@glitchbra.in> | 2020-06-30 23:09:23 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-07-18 07:26:42 -0400 |
commit | 6ba6a881c58459008f02fb4816f8dec2800c2b73 (patch) | |
tree | f160876889f9cc322494ba540837953179825edd /docs | |
parent | 750a1595ef31cdc335f3bab045b2f19a9c43ff93 (diff) | |
download | haskell-6ba6a881c58459008f02fb4816f8dec2800c2b73.tar.gz |
Implement `fullCompilerVersion`
Follow-up of https://gitlab.haskell.org/ghc/ghc/-/issues/18403
This MR adds `fullCompilerVersion`, a function that shares the same
backend as the `--numeric-version` GHC flag, exposing a full,
three-digit version datatype.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/users_guide/phases.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/users_guide/phases.rst b/docs/users_guide/phases.rst index c7a17f6475..af65d613aa 100644 --- a/docs/users_guide/phases.rst +++ b/docs/users_guide/phases.rst @@ -336,7 +336,7 @@ defined by your local GHC installation, the following trick is useful: .. index:: single: __GLASGOW_HASKELL_FULL_VERSION__ This macro exposes the full version string. - For instance: ``__FULL_GHC_VERSION__==8.11.0.20200319``. + For instance: ``__GLASGOW_HASKELL_FULL_VERSION__==8.11.0.20200319``. Its value comes from the ``ProjectVersion`` Autotools variable. ``__GLASGOW_HASKELL_PATCHLEVEL1__``; \ ``__GLASGOW_HASKELL_PATCHLEVEL2__`` |