Skip to content

(\\) in Data.List uses foldl instead of foldl'

The list difference operator (\\) is currently defined in terms of foldl: https://hackage.haskell.org/package/base-4.9.0.0/docs/src/Data.OldList.html#%5C%5C. Should it be using foldl' instead?

Trac metadata
Trac field Value
Version 8.0.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries/base
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information