Simple helper with common functional operations (filter, map, reduce and the like)