Skip to content

Add combinators on Semigroup, Monoid, Aggregator to reverse order. #741

@johnynek

Description

@johnynek

see comment here:

#739 (comment)

reversing the order of semigroup preserves it being a semigroup, as does putting a constant element between every pair. This could be a combinator on semigroup that we could propagate up to other Semigroup related abstractions, e.g. Aggregator, Fold, Scan.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions