simplify _.partition documentation example