Skip to content
This repository has been archived by the owner on Mar 29, 2018. It is now read-only.

mapAccum for Array #60

Merged
merged 1 commit into from
Jan 11, 2015
Merged

mapAccum for Array #60

merged 1 commit into from
Jan 11, 2015

Conversation

phatmann
Copy link
Contributor

Sometimes when you are mapping through an array you need an accumulated value that influences the mapping. The mapAccum function provided in this PR gives you this functionality. It is basically a combination of map and reduce.

pNre added a commit that referenced this pull request Jan 11, 2015
@pNre pNre merged commit 337ccdf into pNre:master Jan 11, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants