DrBoolean / immutable-ext

fantasyland extensions for immutablejs
ISC License
490 stars 19 forks source link

Implement fold in terms of foldMap #1

Closed NMinhNguyen closed 7 years ago

NMinhNguyen commented 7 years ago

This allows us to apply the function f as we’re reducing the underlying collection, saving an extra call to .map(f)