Re:Recursive Anonymous Functions in Elixir: Combinators and ...
by bubblesocks on Sunday January 01, 2017 @07:17PM
(#13298202)
I personally prefer to pull that type of functionality out into a private function. I think it makes the code easier to read.
One use case that comes to mind would be nested data structures where you'd like to iterate over each child's children.