Calculate and Output Fibonacci numbers with tail call optimization in Elixir
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
lib
test
.gitignore
README.md
mix.exs

README.md

Iexfib

Short little Elixir App that calculates Fibonacci numbers, either as a sequence or a certain number you ask for.

Installation

Of course you need Elixir and Erlang running on your system.

Clone the repo, cd in it and fire up iex -S mix

Calculate the first 100 Fibonacci numbers with

Iexfib.fib(100, true)

or grab just the 55th Fibonacci number with

Iexfib.grab_fib(55, true)

More

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/iexfib.