
#15028: Deprecate and Remove Data.Semigroup.Option/First/Last -------------------------------------+------------------------------------- Reporter: andrewthad | Owner: (none) Type: task | Status: new Priority: normal | Milestone: 8.8.1 Component: Compiler | Version: 8.4.1 Resolution: | Keywords: base Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by andrewthad): * cc: ekmett (added) * version: 8.2.2 => 8.4.1 * milestone: 8.6.1 => 8.8.1 Old description:
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.
New description: 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. -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15028#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler