Get previous values in IEx ThinkingElixir 151: Peeking inside the Livebook

Intro to Protocols

Elixir protocols provide a powerful mechanism for polymorphism and code reuse. In this episode, we’ll get an introduction on how to use them.

https://elixircasts.io/introduction-to-protocols