Opened 8 years ago

Closed 4 years ago

Last modified 4 years ago

#4880 closed feature request (fixed)

Functor, Monad, Applicative instances for Data.Monoid.First, Data.Monoid.Last

Reported by: sclv Owned by:
Priority: normal Milestone: 7.10.1
Component: libraries/base Version: 7.0.1
Keywords: Cc: hvr, ekmett
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: #10107 Differential Rev(s):
Wiki Page:

Description

First and Last are both wrappers for Maybe, so this is a very straightforward completion of missing instances.

Attachments (1)

monoidinstances.patch (63.3 KB) - added by sclv 8 years ago.

Download all attachments as: .zip

Change History (7)

Changed 8 years ago by sclv

Attachment: monoidinstances.patch added

comment:1 Changed 8 years ago by igloo

Milestone: Not GHC

comment:2 Changed 8 years ago by igloo

Resolution: invalid
Status: newclosed

Proposal tickets are no longer needed as part of the library submissions process. Instead, a normal ticket should be created once consensus has been achieved. Please see the process description for details.

comment:3 Changed 5 years ago by hvr

Cc: hvr ekmett added
difficulty: Easy (less than 1 hour)
Milestone: Not GHC7.10.1
Resolution: invalid
Status: closednew
Type: proposalfeature request

Morphed this into a feature-request ticket, as the proposal effectively passed the submission process, and the patch got blessed by Edward.

I'd just like to wait until Phab:D13 lands

comment:5 Changed 4 years ago by thomie

Resolution: fixed
Status: newclosed

comment:6 Changed 4 years ago by hvr

Note: See TracTickets for help on using tickets.