Commit c7a058fb authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel 🕺 Committed by Ben Gamari

User's Guide: Add links to MFP wiki page

Test Plan: IIAM

Reviewers: austin, bgamari, quchen

Reviewed By: bgamari, quchen

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D1529

GHC Trac Issues: #10751
parent 9aa94586
...@@ -161,7 +161,8 @@ Compiler ...@@ -161,7 +161,8 @@ Compiler
- Added the ``-fwarn-missing-monadfail-instance`` flag. When enabled, this - Added the ``-fwarn-missing-monadfail-instance`` flag. When enabled, this
will issue a warning if a failable pattern is used in a context that does will issue a warning if a failable pattern is used in a context that does
not have a ``MonadFail`` constraint. This flag represents phase 1 of the not have a ``MonadFail`` constraint. This flag represents phase 1 of the
MonadFail proposal (MFP). `MonadFail Proposal (MFP)
<https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail>`__.
GHCi GHCi
~~~~ ~~~~
......
...@@ -1818,7 +1818,8 @@ New monadic failure desugaring mechanism ...@@ -1818,7 +1818,8 @@ New monadic failure desugaring mechanism
The ``-XMonadFailDesugaring`` extension switches the desugaring of The ``-XMonadFailDesugaring`` extension switches the desugaring of
``do``-blocks to use ``MonadFail.fail`` instead of ``Monad.fail``. This will ``do``-blocks to use ``MonadFail.fail`` instead of ``Monad.fail``. This will
eventually be the default behaviour in a future GHC release, under the eventually be the default behaviour in a future GHC release, under the
MonadFail Proposal (MFP). `MonadFail Proposal (MFP)
<https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail>`__.
This extension is temporary, and will be deprecated in a future release. It is This extension is temporary, and will be deprecated in a future release. It is
included so that library authors have a hard check for whether their code included so that library authors have a hard check for whether their code
......
...@@ -242,7 +242,8 @@ command line. ...@@ -242,7 +242,8 @@ command line.
Being part of the ``-Wcompat`` option group, this warning is off by Being part of the ``-Wcompat`` option group, this warning is off by
default, but will be switched on in a future GHC release, as part of default, but will be switched on in a future GHC release, as part of
the MFP (MonadFail Proposal). the `MonadFail Proposal (MFP)
<https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail>`__.
``-fwarn-deprecated-flags`` ``-fwarn-deprecated-flags``
.. index:: .. index::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment