What I learned, many years ago, is that foldr was a footgun, and that foldl1' was almost certainly what I wanted.
Don't you mean foldl (non-strict version) is a footgun? I can't think of how foldr is a footgun, at least not in a lazy language.
Don't you mean foldl (non-strict version) is a footgun? I can't think of how foldr is a footgun, at least not in a lazy language.