summaryrefslogtreecommitdiff
path: root/compiler/vectorise/Vectorise/Monad/Base.hs
diff options
context:
space:
mode:
authorDavid Feuer <david.feuer@gmail.com>2015-02-05 17:42:50 -0600
committerAustin Seipp <austin@well-typed.com>2015-02-05 17:42:50 -0600
commit7cf87fc6928f0252d9f61719e2344e6c69237079 (patch)
treec278359497761c1a07481281ce0665f025122d41 /compiler/vectorise/Vectorise/Monad/Base.hs
parentae39c5c040f121947e14877c3ceb47bbe80c0ccb (diff)
downloadhaskell-7cf87fc6928f0252d9f61719e2344e6c69237079.tar.gz
Eta-expand argument to foldr in mapM_ for []
Summary: This improves performance, at least sometimes--the previous implementation can be worse than the version in base 4.7. I have not had the time to run benchmarks and such, but `mapM` already does this. Also, inline `mapM_`, like `mapM`. Reviewers: hvr, nomeata, ekmett, austin Reviewed By: ekmett, austin Subscribers: thomie Projects: #ghc Differential Revision: https://phabricator.haskell.org/D632 GHC Trac Issues: #10034
Diffstat (limited to 'compiler/vectorise/Vectorise/Monad/Base.hs')
0 files changed, 0 insertions, 0 deletions