rename argument f -> binop in accumulate