Functional programming helpers for NSEnumerator