[GHC] #12173: foldl' semantics changed from 4.7 to 4.8

GHC ghc-devs at haskell.org
Fri Jun 10 09:49:34 UTC 2016


#12173: foldl' semantics changed from 4.7 to 4.8
-------------------------------------+-------------------------------------
        Reporter:  dfeuer            |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Core Libraries    |              Version:  7.10.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Runtime crash     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by duncan):

 I wholeheartedly endorse this accidental change!

 http://www.well-typed.com/blog/90/

 (see especially the section at the end about which `foldl'`)

 The strictness of the original definition of `foldl'` was itself
 accidental.

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


More information about the ghc-tickets mailing list