Opened 9 years ago

Closed 9 years ago

#4881 closed task (wontfix)

Some patches for GHC

Reported by: basvandijk Owned by:
Priority: normal Milestone: 7.4.1
Component: Compiler Version: 7.0.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

Ticket #4834, which proposes to make Applicative a superclass of Monad, contains a patchbundle for ghc (attachment:ghc_new_monad_hierarchy.dpatch:ticket:4834) that adds Applicative instances for all monads in ghc. The patchbundle also includes some auxiliary refactoring patches.

Ian asked if I could create a separate ticket for this patchbundle. So here it is.

It would be great if someone could review these patches.

Change History (4)

comment:1 Changed 9 years ago by basvandijk

Please ignore the last patch in the bundle:

Sun Dec 12 00:50:20 CET 2010  Bas van Dijk <v.dijk.bas@gmail.com>
  * Require happy >= 1.18.7
  happy-1.18.7 generates needed Functor and Applicative instances for HappyIdentity

That is only required when Applicative becomes a superclass of Monad.

comment:2 Changed 9 years ago by igloo

Status: newpatch

comment:3 Changed 9 years ago by igloo

Milestone: 7.2.1

comment:4 Changed 9 years ago by igloo

Resolution: wontfix
Status: patchclosed

I'm going to close this as wontfix, as

  • nominolo tells me it'll conflict with something he's working on
  • the patches were mainly motivated by a proposal that as far as I know didn't go through
Note: See TracTickets for help on using tickets.