/map-accumulate

"map accumulate" helpers for Elm

Primary LanguageElmBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

mapAccumulate

.github/workflows/make.yml

"Map Accumulate" helpers for Elm.

Useful if you want to modify items in two lists, each based on everything in the other list. For example, bullets hitting targets - we check which bullets have collided with which targets, and for each collision we modify (or remove) the bullet and modify (or remove) the target.