rtfeldman / seamless-immutable

Immutable data structures for JavaScript which are backwards-compatible with normal JS Arrays and Objects.
BSD 3-Clause "New" or "Revised" License
5.36k stars 194 forks source link

Reduce for objects #219

Open zepod opened 7 years ago

zepod commented 7 years ago

When migrating from Immutable to Seamless-Immutable I find myself writing custom reduce helper for objects to make up for Immutable.Map.reduce. I think it's nice little method and it helps during transition from Immutable to Seamless Immutable.

fobos commented 7 years ago

@rtfeldman ping