``foldl`` should not require ``itr`` to be indexable -- it should be sufficient for ``itr`` to be only iterable.