Mapping and reducing enumerables