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

GHC ghc-devs at haskell.org
Wed Oct 1 16:21:18 UTC 2014


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

Comment (by Joachim Breitner <mail@…>):

 In [changeset:"488e95b433d4f7568aa89622c729e64aa3b6520d/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="488e95b433d4f7568aa89622c729e64aa3b6520d"
 Make foldr2 a bit more strict

 in order to make its RULES semantics preserving. This fixes #9495.
 }}}

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


More information about the ghc-tickets mailing list