Errata for Introducing Erlang

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date Submitted Date Corrected
PDF, ePub
Page 36
3rd paragraph

On the beginning of chapter 2 you say “..gravitational constant for Earth of 9.8 m/s, times ...” when actually should be “..gravitational constant for Earth of 9.8 m/s^2, times ...”. The gravitational constant is an acceleration. Cheers

Note from the Author or Editor:
Yes - fixed!

Ramon Maria Gallart  Feb 14, 2015
PDF
Page 74
1st paragraph and Note

Both links for Pascal's triangle are nonfunctional due to having apostrophe's in them rather than the url encoding for them. http://en.wikipedia.org/wiki/Pascal�s_triangle should read http://en.wikipedia.org/wiki/Pascal%27s_triangle and http://rosettacode.org/wiki/Pascal�s_triangle#Erlang should read http://rosettacode.org/wiki/Pascal%27s_triangle#Erlang.

Note from the Author or Editor:
Fixed, thank you!

Ryan Abbott  Nov 23, 2013
PDF
Page 62
4th paragraph

The following line is missing in the transcription of the get_distance function on page 62. Value = string:strip(Input, right, \$\n),

Note from the Author or Editor:
Fixed!

Mauro JH  May 02, 2013
PDF
Page 60
Example 5-5, char_to_planemo/1 function

Example 5-5 as printed in the book has an incorrect usage of `case` in char_to_planemo/1. The printed text is: char_to_planemo(Char) -> case [Char] == "1" -> earth; ... This is incorrect and produces a compile error. Given the structure of the various cases, `if` is the better choice, and, in fact, that is what is used in the downloadable code.

Note from the Author or Editor:
Correct, and now fixed (in a few places). Thank you!

Jeff Weiss  Mar 09, 2013  Apr 02, 2013
PDF, ePub, Mobi
Page 5
last line.

math module is 'math'. The first reference to pi uses 'Math:pi()'. This should be 'math:pi()'.

Note from the Author or Editor:
Absolutely right, and fixed now - will go out in the next update.

R Primus  Feb 17, 2013  Apr 02, 2013
ePub
Page 193
Example 10-4

In the downloadable sample code, example 10-4 is omitted. There seems to be an off-by-one error after that. The ex8-qlc should probably end up being ex9-qlc, but is not explicitly numbered in the book.

Note from the Author or Editor:
Fixed. Thanks!

Brett Hazen  Feb 07, 2013
PDF
Page 17
2nd paragraph in the box

The Microsoft .NET Framework is not a virtual machine, but contains a virtual machine called the Common Language Runtime (CLR). Stating that the Microsoft .NET Framework is a virtual machine is incorrect, but stating that Microsoft's Common Language Runtime (CLR) is a virtual machine is correct.

Note from the Author or Editor:
This is correct - I've updated the files.

Michael Swan  Jan 22, 2013  Apr 02, 2013
PDF
Page 2
the "tip" above the "Firing it up" header

It currently states "As CouchDB, which uses Erlang, spreads, Erlang is now part of the default installation on more systems, including Ubuntu." One can easily infer what is meant to be said, however, it is malformed and incoherent. Possible rewording: "Erlang is becoming more frequently available in the default installation of various operating systems due to the considerable rise in popularity of CouchDB, which depends on Erlang."

Note from the Author or Editor:
Modified files to reflect this- will update.

Michael Swan  Jan 22, 2013  Apr 02, 2013
PDF
Page 17
2nd paragraph in the box

BEAM stands for "Bogdan's" Erlang Abstact Machine. "Bogdan" was misspelled as "Bodgan", with the "d" and "g" transposed.

Note from the Author or Editor:
Updated files to fix typo!

Michael Swan  Jan 22, 2013  Apr 02, 2013
PDF
Page 2
2nd paragraph in parentheses

The word "elsewhere" was misspelled as "elsehwere".

Note from the Author or Editor:
This was fixed in proofs. Thank you!

Michael Swan  Jan 22, 2013  Apr 02, 2013
Safari Books Online
25
Module Directive

Under Example 2-5: height_to_mph(meters) -> mps_to_mph(fall_velocity(meters)). Should read: height_to_mph(Meters) -> mps_to_mph(fall_velocity(Meters)). Also, Safari book has no page number.

Note from the Author or Editor:
Thank you - I just fixed this.

Thomas Bhatia  Dec 18, 2012  Apr 02, 2013
PDF
Page 31
paragraph 3

Consider replacing "The factorial of 2 is 2 - 2 times 1 yields 1. " with The factorial of 2 is 2 - 2 times 1 yields 2.

Note from the Author or Editor:
This is correct - fixed in latest version.

Anonymous  Nov 03, 2012  Apr 02, 2013
PDF
Page 3
top third

The tip says "To quit the shell without shutting down the Erlang runtime". I think a better wording is "To quit the shell without shutting down the Erlang runtime gracefully". The way you have it currently leads the reader to believe something is left running after exiting the shell.

Note from the Author or Editor:
Thanks - this really only applies to logging out of remote shells, not local ones. I've made the change in the text and it will appear in the next Early Release update.

timfreeman  Oct 10, 2012  Apr 02, 2013