[GHC] #10190: Add a Monad instance for ((,) w)

GHC ghc-devs at haskell.org
Wed Mar 25 05:53:27 UTC 2015


#10190: Add a Monad instance for ((,) w)
-------------------------------------+-------------------------------------
        Reporter:  fumieval          |                   Owner:
            Type:  bug               |                  Status:  patch
        Priority:  normal            |               Milestone:
       Component:  Core Libraries    |                 Version:  7.8.4
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by ekmett):

 No objection from me.

 This has passed the libraries@ proposal process on at least 2 separate
 occasions in recent memory, but had been blocked by the fact that Monoid
 wasn't in scope where the Monad class was defined.

 We have the compatible Applicative instance.

 I had honestly thought we already had the instance in 7.10.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10190#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list