hfour / yads

An array-like data structure with a monoidal cache
8 stars 4 forks source link

Generalize reducer to work with two monoids #11

Closed spion closed 5 years ago

spion commented 5 years ago

The first monoid acts as a finder (i.e. index) while the second acts as an accumulator.