November 2022
Intermediate to advanced
294 pages
5h 58m
English
The following conventions are followed in this book.
If something needs to be invoked on the command-line terminal, you’ll see a $ sign preceding it in the text:
| | $ iex |
| | Erlang/OTP 24 [erts-12.3.1] ... |
| | |
| | Interactive Elixir (1.13.4) - press Ctrl+C to exit (type h() ENTER for help) |
| | iex> |
If something needs to be invoked from within the Elixir interactive shell IEx, you’ll see a iex> sign preceding it in the text:
| | iex> g = Graph.new |> Graph.add_vertices([:a, :b]) |
Otherwise, if it’s a source file listing, you’ll usually see a file name banner:
| | def random_graph(limit) do |
| | for(n <- 1..limit, m <- (n + 1)..limit, do: do_evaluate(n, m)) |
| | |> Enum.reject(&is_nil/1) ... |
Read now
Unlock full access