[GHC] #15263: Fuse zipWith3

GHC ghc-devs at haskell.org
Thu Dec 6 21:28:26 UTC 2018


#15263: Fuse zipWith3
-------------------------------------+-------------------------------------
        Reporter:  goldfire          |                Owner:  TDecki
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.8.1
       Component:  Compiler          |              Version:  8.4.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #14037            |  Differential Rev(s):  Phab:D5241
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"fb669f51b3f2cae79511ac3d1c43939d951b1f69/ghc"
 fb669f51/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="fb669f51b3f2cae79511ac3d1c43939d951b1f69"
 Add fusion rules for the zipWith functions in base (#15263)

 This patch will allow `zip3` and `zipWith3` in `GHC.List` as well
 as `zipWith4`, `zipWith5`, `zipWith6` and `zipWith7` in `Data.OldList` to
 fuse.

 These rules are kept in a similar style as the rules for `zip` and
 `zipWith`.

 Added a corresponding test case.

 Test Plan: validate

 Reviewers: hvr, bgamari, simonpj

 Reviewed By: simonpj

 Subscribers: simonpj, rockbmb, rwbarton, carter

 GHC Trac Issues: #15263

 Differential Revision: https://phabricator.haskell.org/D5241
 }}}

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


More information about the ghc-tickets mailing list