[GHC] #13086: (\\) in Data.List uses foldl instead of foldl'
GHC
ghc-devs at haskell.org
Sun Jan 8 05:09:56 UTC 2017
#13086: (\\) in Data.List uses foldl instead of foldl'
-------------------------------------+-------------------------------------
Reporter: vaibhavsagar | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: | Version: 8.0.1
libraries/base |
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
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?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13086>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list