Why not `foldr` instead of `foldl` + `reverse`?