[GHC] #9949: zipWith too strict in second argument in GHC-7.10.0

GHC ghc-devs at haskell.org
Fri Jan 2 10:21:57 UTC 2015


#9949: zipWith too strict in second argument in GHC-7.10.0
-------------------------------------+-------------------------------------
              Reporter:  Lemming     |             Owner:  ekmett
                  Type:  bug         |            Status:  new
              Priority:  normal      |         Milestone:
             Component:  Core        |           Version:  7.10.1-rc1
  Libraries                          |  Operating System:  Unknown/Multiple
              Keywords:              |   Type of failure:  None/Unknown
          Architecture:              |        Blocked By:
  Unknown/Multiple                   |   Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
 correct:
 {{{
 $ ghci-7.8.4 -Wall
 Prelude> zipWith (==) "" undefined
 []
 }}}

 incorrect:
 {{{
 $ ghci-7.10.0.20141227 -Wall
 Prelude> zipWith (==) "" undefined
 *** Exception: Prelude.undefined
 }}}

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


More information about the ghc-tickets mailing list