[GHC] #10457: Revise/remove custom mapM implementation for lists

GHC ghc-devs at haskell.org
Tue Oct 20 20:34:09 UTC 2015


#10457: Revise/remove custom mapM implementation for lists
-------------------------------------+-------------------------------------
        Reporter:  dolio             |                Owner:
            Type:  task              |               Status:  closed
        Priority:  normal            |            Milestone:  8.0.1
       Component:  libraries/base    |              Version:  7.10.1
      Resolution:  fixed             |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Runtime           |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D1124
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by nomeata):

 JFTR: This instance of the regression has been fixed, because the `State`
 implementation got a sensible `Applicative` instance. The change in
 changeset:60297486/ghc still has the ability to regress any user code that
 has `(<*>) = ap`. OTOH, there is little we can do about it besides telling
 people to implement their Applicatives properly.

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


More information about the ghc-tickets mailing list