Skip to content

fromList fold/overwrite behaviour toggle #53

@ocramz

Description

@ocramz

Generalize fromListSV/fromListSM to accept a parameter to either overwrite or apply some fold over repeated elements.
The current behaviour is overwriting.

Example of new behaviour:

fromListSV (FoldRepeated (+) 0) [(1, 1), (2, 3), (2, 5)] == fromListSV OverwriteRepeated [(1, 1), (2, 8)]

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions