[GHC] #9742: The default definitions of foldl1 and foldr1 are too strict

GHC ghc-devs at haskell.org
Wed Oct 29 21:52:00 UTC 2014


#9742: The default definitions of foldl1 and foldr1 are too strict
-------------------------------------+-------------------------------------
              Reporter:  dfeuer      |            Owner:  ekmett
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:  7.10.1
             Component:  Core        |          Version:  7.9
  Libraries                          |         Keywords:
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Easy (less than 1
  Unknown/Multiple                   |  hour)
       Type of failure:  Runtime     |       Blocked By:
  crash                              |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by dfeuer):

 I should say "may have to", actually. The current `foldr1` should be okay
 on snoc lists, say.

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


More information about the ghc-tickets mailing list