-
-
Notifications
You must be signed in to change notification settings - Fork 10
fromList fold/overwrite behaviour toggle #53
Copy link
Copy link
Open
Description
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)]
Reactions are currently unavailable