Skip to content

Add groupMapReduce to Iterator #8

Closed
@sim642

Description

@sim642

Currently groupMapReduce is defined in IterableOps so it's not available for Iterator, but it easily could be because it doesn't require building an inner collection of the collection type, unlike groupBy and groupMap. Thus groupMapReduce would be hoisted to IterableOnceOps instead and be a consuming operation on the iterator.

I suppose the current workaround would be to use to(LazyList) on an iterator and use groupMapReduce on that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestlibrary:collectionsstatus:pendingThis enhancement request lacks consensus on whether or not to include it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions