This module returns the length of a list using recursion.
It's the challenge #1 of Ignite Elixir
Once inside the project's directory, you can run it using Elixir's interactive shell:
$ iex -S mix
iex(1)> ListLength.call(["a","b","c"])
3
You can also run the tests script in the terminal (outside iex
):
$ mix test