add "function" -> "as a simple `reduce` function"