Skip to content

concatMap is not a good producer for list fusion

Joachim Breitner raised this issue in an email to haskell-cafe in 2011, but he never got a response. For some reason, list comprehensions desugar to concatMap forms written to fuse fully, but the actual concatMap function is not written so. Unless there is a good reason for this, we should make it fuse better.

Edited by David Feuer
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information