Re: #16406: Array code works with GHC 8.4.4, hangs with GHC 8.6.4

"GHC" <[email protected]> Fri, 08 Mar 2019 14:36:56 -0000
Newsgroups gmane.comp.lang.haskell.glasgow.bugs
Message-ID <[email protected]>
--===============3465160220374408222==
Content-Type: multipart/related;
 boundary="===============4968530982230735884=="

--===============4968530982230735884==
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit

#16406: Array code works with GHC 8.4.4, hangs with GHC 8.6.4
-------------------------------------+-------------------------------------
        Reporter:  arybczak          |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  libraries         |              Version:  8.6.4
  (other)                            |
      Resolution:                    |             Keywords:  array
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by dfeuer):

 That was an intentional change. As I recall: Haskell 98's reference
 implementation didn't match its spec. We followed the Result: `accumArray`
 was terribly inefficient. Is there real code in the wild that makes use of
 its former laziness?

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16406#comment:7>