Tests show that non-tail recursive foldLeft throws StackOverflowError when tail-recursive foldLeft does not.