About
Will fill this with more content later. For now see the Instruction Leaflet
1def fib(num), do: fib(num, 0, 1)
2def fib(0, res, _), do: res
3def fib(n, res, nxt) when n > 0, do: fib(n-1, nxt, res + nxt)
Will fill this with more content later. For now see the Instruction Leaflet
1def fib(num), do: fib(num, 0, 1)
2def fib(0, res, _), do: res
3def fib(n, res, nxt) when n > 0, do: fib(n-1, nxt, res + nxt)