Defining Recursion

This is the English version of an article I wrote for elixir-lang.bg. You can find it in Български on this blog too.

It is an interesting exercise, in which we are going to use a very limited subset of the language - a subset that doesn’t even support recursion. Using only it, we will try to define a recursive function.

[...]