[GHC] #9495: Do What I Mean RULES for foldr2 look shady

GHC ghc-devs at haskell.org
Fri Jan 2 11:38:40 UTC 2015


#9495: Do What I Mean RULES for foldr2 look shady
-------------------------------------+-------------------------------------
        Reporter:  dfeuer            |                   Owner:
            Type:  bug               |                  Status:  closed
        Priority:  high              |               Milestone:  7.10.1
       Component:  libraries/base    |                 Version:  7.8.3
      Resolution:  fixed             |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Runtime crash     |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:  #9949             |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by hvr):

 * related:   => #9949


Comment:

 as noted in #9949, the change in strictness breaks the common `zipWith f
 xs (tail xs)` idiom

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


More information about the ghc-tickets mailing list