[refactor] foldl -> foldl'

This is according to the blog

http://h2.jaguarpaw.co.uk/posts/foldl-traverses-state-foldr-traverses-anything/
4 jobs for dev-tests-refactor in 18 minutes and 8 seconds (queued for 138 minutes and 19 seconds)
Status Job ID Name Coverage
  Cabal
failed #11322
cabal

00:18:08

 
  Stack
skipped #11323
stack
 
  Bench
skipped #11324
bench
 
  Test
skipped #11325
test
 
Name Stage Failure
failed
cabal Cabal
stack.yaml updated successfully.
ERROR! hash mismatch between expected cabal.project.freeze and the one computed by cabal2stack.
Please update the hashes inside the './bin/update-project-dependencies' file.
+ [[ d8ea32c1fc0d609e098c5fa67aa122d210e2dfdf6b4ebc5888083ed5fdfbb731 != 745c65c246998cfda4d2a7a22df44a9f1f7fb0927e2afc2f16712861bf552c76 ]]
+ echo -e '\e[31mERROR! hash mismatch between expected cabal.project.freeze and the one computed by cabal2stack.\e[0m'
+ echo -e '\e[33mPlease update the hashes inside the '\''./bin/update-project-dependencies'\'' file.\e[0m'
+ exit 1
Cleaning up file based variables
ERROR: Job failed: exit code 1