[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:"c271e32eac65ee95ba1aacc72ed1b24b58ef17ad/ghc"]:
{{{
#!CommitTicketReference repository="ghc"
revision="c271e32eac65ee95ba1aacc72ed1b24b58ef17ad"
Add GHC.Prim.oneShot
to allow the programer to explictitly set the oneShot flag. This helps
with #7994 and will be used in left folds. Also see
https://ghc.haskell.org/trac/ghc/wiki/OneShot
This commit touches libraries/base/GHC/Event/Manager.hs (which used to
have a local definition of the name oneShot) to avoid a shadowing error.
Differential Revision: https://phabricator.haskell.org/D392
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7994#comment:22>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list