Recursion in elixir

published on
I am new to elixir, and I find this interesting at the time of writing, I am coming from NodeJs :) The major ingredients of recursion are: An exercise to perform repeatedly, A condition to break off the repeated exercise Lets say we want to write a function that will return building identifiers where restaurants have not yet closed. The first argument is the current hour as integer, the second argument is the current minute as integer, the third argument is the list of restaurants containing; the name of the canteen, building identifier, closing hour, closing minute. Read More...