DEV Community

Discussion on: Understanding Recursion with Elixir

Collapse
 
sophiedebenedetto profile image
Sophie DeBenedetto

Thanks for pointing these out! I've updated the post to use a header clause for that default argument and included a link to some more info for anyone who wants a deeper understanding of why that's needed.

Your second suggestion looks good too, I'll incorporate a note to that effect in the post later on today.