Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
GHC
GHC
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,326
    • Issues 4,326
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 390
    • Merge Requests 390
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #19177

Closed
Open
Opened Jan 05, 2021 by Artem Pelenitsyn@ulysses4everReporter

Remove -XMonadFailDesugaring as per MFP

Summary

-XMonadFailDesugaring should have been removed in 8.8 as per MFP#Transition.

Steps to reproduce

Enable -XMonadFailDesugaring: it's accepted (having no effect).

Expected behavior

The extension is rejected -- as unknown or removed (not sure which one?).

Environment

  • GHC version used: GHC HEAD, 8.10

Discussion

This is a follow-up on the discussion over ghc-steering-committee. Quoting @simonpj:

We were due to remove them in 8.8, as the proposal says under "Transitional Strategy" https://gitlab.haskell.org/haskell/prime/-/wikis/libraries/proposals/monad-fail But we failed to do so. Would someone like to make a ticket to do them?

What bothers me a bit is the User Guide's wording:

This extension is enabled by default since GHC 8.6.1, under the MonadFail Proposal (MFP).

This extension is temporary, and will be deprecated in a future release.

This sounds much far from removal than it's from MFP's plan.

Also, there's another action item there, which, probably deserves its own issue:

Control.Monad.Fail is now a redundant module that can be considered deprecated.

Edited Jan 05, 2021 by Artem Pelenitsyn
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: ghc/ghc#19177