@cmr Right. Just trying to point out that the there is probably a better way to organize this function. I don't need to hold onto any result but the final one, so the pushes could be replaced with the test contained in the fold's lambda.