[GHC] #7994: Make foldl into a good consumer

GHC ghc-devs at haskell.org
Sun Nov 2 18:04:04 UTC 2014


#7994: Make foldl into a good consumer
-------------------------------------+------------------------------------
        Reporter:  simonpj           |            Owner:
            Type:  bug               |           Status:  closed
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.6.3
      Resolution:  fixed             |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by Joachim Breitner <mail@…>):

 In [changeset:"072259c78f77d6fe7c36755ebe0123e813c34457/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="072259c78f77d6fe7c36755ebe0123e813c34457"
 Use oneShot in the definition of foldl etc.

 This increases the chance of good code after fusing a left fold. See
 ticket #7994 and the new Note [Left folds via right fold]

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

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


More information about the ghc-tickets mailing list