fold_right array