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,391
    • Issues 4,391
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 372
    • Merge Requests 372
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #15028

Closed
Open
Opened Apr 12, 2018 by Andrew Martin@andrewthadDeveloper

Deprecate and Remove Data.Semigroup.Option and Data.Monoid.First/Last

Since the Semigroup-Monoid Proposal has landed, the data type Option from Data.Semigroup is now obsolete. I propose that it be marked deprecated in GHC 8.6 and removed in GHC 8.10.

--- EDIT ---

A proposal on the libraries mailing list for the removal of First and Last from Data.Monoid met with a positive response: https://mail.haskell.org/pipermail/libraries/2018-April/028712.html

I figured it would be best to track all of these on the same ticket. In a response to the aforementioned mailing list thread, Edward Kmett suggested that the timing for deprecation and removal be GHC 8.8 and GHC 8.10 respectively. This will make it possible to adhere to the three-release policy with ease.

Edited Mar 10, 2019 by Andrew Martin
Assignee
Assign to
9.2.1
Milestone
9.2.1
Assign milestone
Time tracking
None
Due date
None
Reference: ghc/ghc#15028