Control flow structures vs Pattern Matching

A function with an anonymous function as an argument with a case inside that pipes into another case?

:melting_face:

to add something constructive: did you consider using with

https://medium.com/swlh/elixir-tip-case-vs-with-28b04c4e522a