Opened 5 years ago

Closed 5 years ago

#9502 closed bug (fixed)

mapAccumL does not participate in foldr/build fusion

Reported by: dfeuer Owned by:
Priority: normal Milestone:
Component: libraries/base Version: 7.8.3
Keywords: Cc: hvr, ekmett
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Runtime performance bug Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

This can probably be fixed in much the same way as scanl.

Attachments (1)

MapAccumL.diff (1.4 KB) - added by dfeuer 5 years ago.
Make mapAccumL a good consumer for list fusion

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by dfeuer

Attachment: MapAccumL.diff added

Make mapAccumL a good consumer for list fusion

comment:1 Changed 5 years ago by dfeuer

Status: newpatch

comment:2 Changed 5 years ago by Joachim Breitner <mail@…>

In d41dd03fdf0ef723ca31f5a11f07a54a15d2cbc0/ghc:

Make mapAccumL a good consumer

This fixes #9502.

comment:3 Changed 5 years ago by nomeata

Resolution: fixed
Status: patchclosed
Note: See TracTickets for help on using tickets.