Introducing Sage — a Sagas pattern implementation in Elixir The Basics of Routing in Phoenix

Implementing the Enumerable Protocol

In this episode we implement just three functions—reduce, count and member. In return, we get the dozens of utility functions provided by Enum for our btree struct, including map, random, shuffle, uniq and more.

ElixirWeekly: The Elixir Community Newsletter, covering community news you easily miss, shared on ElixirStatus and the web, in one email every Thursday.