Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#10107 closed feature request (fixed)

Add Functor etc. to Data.Monoid wrappers

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

Description

Add Functor, Foldable, Traversable, Monad, Applicative, MonadFix and Data to wrappers in Data.Monoid

Discussion on libraries list: https://mail.haskell.org/pipermail/libraries/2015-February/024989.html

Change History (6)

comment:1 Changed 5 years ago by phadej

Differential Rev(s): Phab:D673

comment:2 Changed 5 years ago by hvr

comment:3 Changed 5 years ago by Austin Seipp <austin@…>

In 4e6bcc2c8134f9c1ba7d715b3206130f23c529fb/ghc:

Add various instances to newtypes in Data.Monoid

Summary:
Add Functor instances for Dual, Sum and Product
Add Foldable instances for Dual, Sum and Product
Add Traversable instances for Dual, Sum and Product
Add Foldable and Traversable instances for First and Last
Add Applicative, Monad instances to Dual, Sum, Product
Add MonadFix to Data.Monoid wrappers
Derive Data for Identity
Add Data instances to Data.Monoid wrappers
Add Data (Alt f a) instance

Reviewers: ekmett, dfeuer, hvr, austin

Reviewed By: dfeuer, austin

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D673

GHC Trac Issues: #10107

comment:4 Changed 5 years ago by thoughtpolice

Resolution: fixed
Status: newclosed

Merged, thanks!

comment:5 Changed 5 years ago by Austin Seipp <austin@…>

In 3f3782df63f7c55382a25687a8e5c7f64202fa0a/ghc:

Add more MonadZip instances

Summary: Add MonadZip Alt and MonadFix Alt instances

Reviewers: ekmett, dfeuer, hvr, austin

Reviewed By: austin

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D716

GHC Trac Issues: #10107

comment:6 Changed 4 years ago by thoughtpolice

Milestone: 7.12.18.0.1

Milestone renamed

Note: See TracTickets for help on using tickets.