Tag Archive for 'ruby-functional-functionalprogramming-fold-reduce-funct'

Are you amazed and horrified that the Ruby standard library does not have a fold/reduce function?

Enumerable#inject

Enjoy.




Close
Powered by ShareThis