Composable iterators for reduce