[refactor] foldl -> foldl'

This is according to the blog

http://h2.jaguarpaw.co.uk/posts/foldl-traverses-state-foldr-traverses-anything/
parent 34c2ef06
Pipeline #5596 failed with stages
in 18 minutes and 8 seconds