Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fromList fold/overwrite behaviour toggle #53

Open
ocramz opened this issue Mar 14, 2018 · 0 comments
Open

fromList fold/overwrite behaviour toggle #53

ocramz opened this issue Mar 14, 2018 · 0 comments

Comments

@ocramz
Copy link
Owner

ocramz commented Mar 14, 2018

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

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

No branches or pull requests

1 participant