Skip to content

fromList fold/overwrite behaviour toggle #53

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)]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions