• quchen's avatar
    MonadFail proposal, phase 1 · 233d1312
    quchen authored
    This implements phase 1 of the MonadFail proposal (MFP, #10751).
    - MonadFail warnings are all issued as desired, tunable with two new flags
    - GHC was *not* made warning-free with `-fwarn-missing-monadfail-warnings`
      (but it's disabled by default right now)
    Credits/thanks to
    - Franz Thoma, whose help was crucial to implementing this
    - My employer TNG Technology Consulting GmbH for partially funding us
      for this work
    Reviewers: goldfire, austin, #core_libraries_committee, hvr, bgamari, fmthoma
    Reviewed By: hvr, bgamari, fmthoma
    Subscribers: thomie
    Projects: #ghc
    Differential Revision: https://phabricator.haskell.org/D1248
    GHC Trac Issues: #10751
TcSMonad.hs 109 KB