[GHC] #13876: Check 'pure' method of 'Applicative (WrappedMonad m)'

GHC ghc-devs at haskell.org
Mon Jun 26 19:43:20 UTC 2017


#13876: Check 'pure' method of 'Applicative (WrappedMonad m)'
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by RyanGlScott):

 Indeed, this was changed from `pure = WrapMonad. return` to `pure =
 WrapMonad . pure` in e737a5126dcfdd0610587d2ec16bea6481cf2a42 (`base: MRP-
 refactoring of AMP instances`), so perhaps hvr should chime in here.

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


More information about the ghc-tickets mailing list