I had fun turning the Luhn checksum into a simple Elixir pipeline a couple of years ago. The algorithm as stated is of a very imperative/mutable mindset, but you can do it with immutable pipelines.
https://github.com/gvaughn/elixir_kata/blob/master/luhn/luhn.exs






















