DequeExtensions.foldRight, ListExtensions.foldRight