Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
-
6c956af3
by J. Ryan Stinnett at 2025-08-10T22:21:42-04:00
-
6dc420b1
by J. Ryan Stinnett at 2025-08-10T22:21:42-04:00
5 changed files:
- docs/users_guide/conf.py
- docs/users_guide/expected-undocumented-flags.txt
- docs/users_guide/exts/doandifthenelse.rst
- + docs/users_guide/exts/relaxed_poly_rec.rst
- docs/users_guide/exts/types.rst
Changes:
| ... | ... | @@ -35,8 +35,6 @@ nitpick_ignore = [ |
| 35 | 35 | ("envvar", "TMPDIR"),
|
| 36 | 36 | |
| 37 | 37 | ("c:type", "bool"),
|
| 38 | - |
|
| 39 | - ("extension", "RelaxedPolyRec"),
|
|
| 40 | 38 | ]
|
| 41 | 39 | |
| 42 | 40 | rst_prolog = """
|
| ... | ... | @@ -14,7 +14,6 @@ |
| 14 | 14 | -XPolymorphicComponents
|
| 15 | 15 | -XRecordPuns
|
| 16 | 16 | -XRelaxedLayout
|
| 17 | --XRelaxedPolyRec
|
|
| 18 | 17 | -copy-libs-when-linking
|
| 19 | 18 | -dannot-lint
|
| 20 | 19 | -dppr-ticks
|
| ... | ... | @@ -8,7 +8,7 @@ Do And If Then Else |
| 8 | 8 | |
| 9 | 9 | :since: 7.0.1
|
| 10 | 10 | |
| 11 | - :status: Included in :extension:`Haskell2010`
|
|
| 11 | + :status: Included in :extension:`GHC2024`, :extension:`GHC2021`, :extension:`Haskell2010`
|
|
| 12 | 12 | |
| 13 | 13 | Allow semicolons in ``if`` expressions.
|
| 14 | 14 |
| 1 | +.. _relaxed-poly-rec:
|
|
| 2 | + |
|
| 3 | +Generalised typing of mutually recursive bindings
|
|
| 4 | +-------------------------------------------------
|
|
| 5 | + |
|
| 6 | +.. extension:: RelaxedPolyRec
|
|
| 7 | + :shortdesc: Generalised typing of mutually recursive bindings.
|
|
| 8 | + |
|
| 9 | + :since: 6.8.1
|
|
| 10 | + |
|
| 11 | + :status: Included in :extension:`GHC2024`, :extension:`GHC2021`, :extension:`Haskell2010`
|
|
| 12 | + |
|
| 13 | +See :ref:`infelicities-recursive-groups` for a description of this extension.
|
|
| 14 | +This is a long-standing GHC extension. Around the time of GHC 7.6.3, this
|
|
| 15 | +extension became required as part of a typechecker refactoring.
|
|
| 16 | +The ``-XRelaxedPolyRec`` flag is now deprecated (since the feature is always
|
|
| 17 | +enabled) and may be removed at some future time. |
| ... | ... | @@ -30,3 +30,4 @@ Types |
| 30 | 30 | type_errors
|
| 31 | 31 | defer_type_errors
|
| 32 | 32 | roles
|
| 33 | + relaxed_poly_rec |