#9339: last is not a good consumer -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: Type: bug | Status: patch Priority: normal | Milestone: Component: | Version: 7.8.3 libraries/base | Keywords: Resolution: | Operating System: Unknown/Multiple Differential Revisions: Phab:D86 | Type of failure: Runtime Architecture: | performance bug Unknown/Multiple | Test Case: Difficulty: Unknown | Blocking: Blocked By: | Related Tickets: | -------------------------------------+------------------------------------- Comment (by Joachim Breitner <mail@…>): In [changeset:"b709f0a047dc036de15dc43d3b0ab88d3e32c5e6/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="b709f0a047dc036de15dc43d3b0ab88d3e32c5e6" Make last a good consumer Summary: Make last a good consumer simply by implementing it as foldl. This fixes Trac: #9339. Thanks to David Feuer for bringing it up. Test Plan: perf/should_run/T9339 + general validation Reviewers: austin Reviewed By: austin Subscribers: phaskell, simonmar, relrod, carter Differential Revision: https://phabricator.haskell.org/D86 Trac Issues: #9339 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9339#comment:10> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler