Learn By Example: Elixir Pattern matching Here’s an easy to follow code example on Elixir pattern matching
Learn By Example: What’s the ampersand in Elixir (capture operator)? Seeing the ampersand for the first time in Elixir was really confusing, but here’s some examples to clarify how it works.