Flattening lists recursively in Elixir

This episode covers two ways to recursively flatten a list in Elixir—a beautiful way and an a more performant way.

It's also a great demonstration of the power of Elixir's pattern matching in function heads.

Back to index

No Comments