Skip to content

Add single-argument version of Folds.reduce? #26

@oschulz

Description

@oschulz

Would be handy to be able to write

Filter(isodd) ⨟ MapCat(x -> 1:x^2) ⨟ Folds.reduce(+)

instead of

Filter(isodd) ⨟ MapCat(x -> 1:x^2) ⨟ (x -> Folds.reduce(+, x))

Or would a single-argument Folds.reduce break some concepts behind Folds?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions