Programming Elixir 1.6 (Pragmatic Bookshelf)
Hot This:
Most Active This Week
Most Active This Month
Most Active This Year

The provided solutions have a few typos or errors, this one in particular tipped me over into submitting errata:
defmodule MyList do
...
New

@pragdave
The correct one should be
defmodule Hello.Elixir do
def span(from, to) when from > to, do: []
def span(from, to), do: [...
New

@pragdave
Two typos. The correct one should be:
defp center_one_string(field_width, {string, length}) do
~s[#{String.duplicate(" "...
New
Most Active Last Three Years
Most Active Over Three Years

Same as String.next_codepoint(str), next_grapheme(str) returns nil if str is empty.
https://github.com/elixir-lang/elixir/commit/87fee37...
New

The code here does not follow from previous sections, making it difficult to identify the changes Mr. Thomas intends to introduce under t...
New

The terminal command to run the function on page 150 of Transformation: Fetch from GitHub section is -
mix run -e 'Issues.CLI.run(["-h"]...
New

It is the first example on page 72, the one with the highlighting.
[ 1 | [ 2 | [ 3 | [] ] ]
Needs to be changed to:
[ 1 | [ 2 | [ 3 ...
New

On page 337, in the description of the count/1 function of the Enumerable protocol, the return value in the uncountable case is incorrect...
New

I first thought it was some fancy “Plural” for directory that only highly intelligent people like Dave know about, but then I realized th...
New
Book Info
Publisher:
Pragmatic Bookshelf
Get money off!

The Pragmatic Bookshelf
35% off any eBook
Simply use coupon code "devtalk.com" at checkout. See full details here.