diff options
Diffstat (limited to 'docs/users_guide/intro.rst')
| -rw-r--r-- | docs/users_guide/intro.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/users_guide/intro.rst b/docs/users_guide/intro.rst index 281c04a211..677f4625b4 100644 --- a/docs/users_guide/intro.rst +++ b/docs/users_guide/intro.rst @@ -175,3 +175,6 @@ numbering GHC versions: The version number of your copy of GHC can be found by invoking ``ghc`` with the ``--version`` flag (see :ref:`options-help`). +The compiler version can be tested within compiled code with the +``MIN_VERSION_GLASGOW_HASKELL`` CPP macro (defined only when +:ghc-flag:`-XCPP` is used). See :ref:`standard-cpp-macros` for details. |
