Skip to content
Snippets Groups Projects
Commit 92e72275 authored by sof's avatar sof
Browse files

[project @ 1999-02-17 10:51:42 by sof]

Document __HASKELL98__
parent 6b01bd9d
No related merge requests found
......@@ -1098,14 +1098,22 @@ the usual C way.
The @ghc@ driver pre-defines several macros:
<descrip>
<tag>@__HASKELL98__@:</tag>
<nidx>__HASKELL98__</nidx>
If defined, this means that GHC supports the language
defined by the Haskell 98 report.
NB. This macro is <em/only/ set when pre-processing Haskell source
(ie. @.hs@ or @.lhs@ files).
<tag>@__HASKELL1__@:</tag>
<nidx>__HASKELL1__ macro</nidx>
If defined to <em/n/, that means GHC supports the
Haskell language defined in the Haskell report version <em/1.n/.
Currently 4.
Currently 5.
NB. This macro is <em/only/ set when pre-processing Haskell source
(ie. @.hs@ or @.lhs@ files).
NB. As with <tt/__HASKELL98__/, this macro is <em/only/ set when
pre-processing Haskell source (ie. @.hs@ or @.lhs@ files).
<tag>@__GLASGOW_HASKELL__@:</tag>
<nidx>__GLASGOW_HASKELL__ macro</nidx>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment