Reducing Enumerable (and writing again)

Brandon Weaver wrote:

Been a while, but I've started writing a lot of Ruby tutorials and articles
again. You all may find a few of these interesting.

The two ones I currently have running are:

Reducing Enumerable

Reimplementing Enumerable in terms of Reduce.

Reducing Enumerable — The Basics. One of the lesser understood functions… | by Brandon Weaver | Medium
Reducing Enumerable — No-Op and Boolean | by Brandon Weaver | Medium
Reducing Enumerable — No-Op and Boolean | by Brandon Weaver | Medium

I did something similar a while ago:

    Functional code examples in ruby - Stack Overflow

It's an interesting experience.

Also, a painful one, it shows that the core lib APIs are
definitely not designed with Ruby in mind. Trying to implement the
core lib APIs in Ruby is an exercise in pain.

jwm