small medium large xlarge

Errata for Programming Erlang

 

The latest version of the book is P5.0, released almost 6 years ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:

If you've found a new error, please submit it.

  • Typo
  • Tech. error
  • Suggestion
  • Maybe next edition
  • Not a problem
  • Reported in: P5.0 (05-Jun-12)
#49408
PDF page: sadek
Paper page: sadek

this makes me sad--SPGqMjBvQqqAEzhB

  • Reported in: P5.0 (06-Mar-12)
#48904
PDF page: leswx
Paper page: leswx

im subscribing to this rss totally--CUSEBXJwJigcmRvS

  • Reported in: P5.0 (09-Jun-12)
#49420
PDF page: ufwao
Paper page: ufwao

nice suggestion--tWLDgSkmdnzh

  • Reported in: P5.0 (09-Jun-12)
#49421
PDF page: mkkyx
Paper page: mkkyx

my crew loves that --WUwVnmZrdqETYAKIp

  • Reported in: P5.0 (04-Feb-12)
#48655
PDF page: ucmyo
Paper page: ucmyo

JG5rZI thanx women--jbUQJXAYFLkV

  • Reported in: P5.0 (10-Jun-12)
#49425
PDF page: tiwya
Paper page: tiwya

sweet not sure tho--vUznlSpjbs

  • Reported in: P5.0 (09-Mar-12)
#48916
PDF page: irpgg
Paper page: irpgg

i had to write here--aZMugTiyMsruupPsEi

  • Reported in: P5.0 (05-Feb-12)
#48667
PDF page: ybmjb
Paper page: ybmjb

Comments do help--cJEnWHhhAt

  • Reported in: P5.0 (06-Feb-12)
#48668
PDF page: honam
Paper page: honam

i do not agree--XAzqJPQhlWILmnafbKK

  • Reported in: P5.0 (06-Feb-12)
#48669
PDF page: honam
Paper page: honam

i do not agree--XAzqJPQhlWILmnafbKK

  • Reported in: P5.0 (06-Feb-12)
#48670
PDF page: fdzqg
Paper page: fdzqg

Looking forward to--OannmwdICcGblNflNMY

  • Reported in: P5.0 (15-Jun-12)
#49440
PDF page: hwtoi
Paper page: hwtoi

mmmm sandwitch--gQswKfkOOEt

  • Reported in: P5.0 (24-Apr-12)
#49185
PDF page: roshm
Paper page: roshm

sweet template--PHdTzpBllaCYGwHxOkV

  • Reported in: P5.0 (15-Aug-12)
#49697
PDF page: glnsj
Paper page: glnsj

kl8oQd omg loved this stuff--wxpSuzevgE

  • Reported in: P5.0 (16-Aug-12)
#49698
PDF page: zyqgb
Paper page: zyqgb

9zpO2F good blog as usual--gkxVHGbfWXxFKR

  • Reported in: P5.0 (16-Aug-12)
#49704
PDF page: sontx
Paper page: sontx

tQwPuJ including specific questions in posts--MEqudmTCvLy

  • Reported in: P5.0 (16-Aug-12)
#49705
PDF page: sontx
Paper page: sontx

tQwPuJ including specific questions in posts--MEqudmTCvLy

  • Reported in: P5.0 (16-Aug-12)
#49706
PDF page: sontx
Paper page: sontx

tQwPuJ including specific questions in posts--MEqudmTCvLy

  • Reported in: P5.0 (17-Aug-12)
#49709
PDF page: mfihr
Paper page: mfihr

TX69oF this helped me as much as it coulkd--cMBNPaunHFduWgnCH

  • Reported in: P5.0 (15-Mar-12)
#48944
PDF page: regua
Paper page: regua

so what do we do now?--FHXCgEZlMNte

  • Reported in: P5.0 (25-Jun-12)
#49461
PDF page: vyfwp
Paper page: vyfwp

thanx karen--CObXpYwtAziszTufOBB

  • Reported in: P5.0 (10-Nov-11)
#47933
PDF page: index

the index entry for "|| (double
vertical bar)" should include page 198 (the section on List Comprehensions).

  • Reported in: P5.0 (23-Aug-12)
#49726
PDF page: fyyjp
Paper page: fyyjp

g00d info as usual here--TMzERPHgOSGUlqvzjS

  • Reported in: P5.0 (02-Oct-11)
#47681
PDF page: rGUYV
Paper page: SGHKj

I told my grandmother how you heepld. She said, “bake them a cake!”--13

  • Reported in: P5.0 (22-Mar-12)
#48973
PDF page: euoto
Paper page: euoto

im a serial reader--yYulEpkSUvJL

  • Reported in: P5.0 (06-Jan-12)
#48466
PDF page: zohtp
Paper page: zohtp

L1i18q I notice that when I specifically invite comments that people leave them in higher numbers than when I don�t.--iJChmoiecmtuayoxfxp

  • Reported in: P5.0 (01-May-12)
#49234
PDF page: iirru
Paper page: iirru

wat is at about hmmm--FeZzvqJZhveoAtzeSMY

  • Reported in: P5.0 (01-May-12)
#49235
PDF page: iirru
Paper page: iirru

wat is at about hmmm--FeZzvqJZhveoAtzeSMY

  • Reported in: P5.0 (16-Feb-12)
#48733
PDF page: decdt
Paper page: decdt

i dont know if that is really true.....--xZIdXGNVLASWxpgh

  • Reported in: P5.0 (16-Feb-12)
#48734
PDF page: decdt
Paper page: decdt

i dont know if that is really true.....--xZIdXGNVLASWxpgh

  • Reported in: P5.0 (16-Feb-12)
#48735
PDF page: szgmy
Paper page: szgmy

thissi sad.. maybe not..--zkagSJJmseYCsLOtUoI

  • Reported in: P5.0 (29-Aug-12)
#49761
PDF page: aftnm
Paper page: aftnm

thanx women--WuiEpXKfYdRq

  • Reported in: P5.0 (06-Sep-12)
#49784
PDF page: fnqbw
Paper page: fnqbw

i have to say this --pqRjUJeGHCOLGFIGtcE

  • Reported in: P5.0 (07-Sep-12)
#49786
PDF page: rjymp
Paper page: rjymp

thinkingof what?--GsDMEirltHB

  • Reported in: P5.0 (07-Sep-12)
#49787
PDF page: tmdpe
Paper page: tmdpe

i had to write here--RVmmDmZVMafdRYJLrK

  • Reported in: P5.0 (04-May-12)
#49276
PDF page: ooloh
Paper page: ooloh

i agree woman--MDgWVcLrkBDKgM

  • Reported in: P5.0 (07-Sep-12)
#49789
PDF page: ldvda
Paper page: ldvda

bring that times back!--pViZqedmsELC

  • Reported in: P5.0 (08-Sep-12)
#49790
PDF page: tnbex
Paper page: tnbex

i agree man--dCBGFgufkRWaakbgPXW

  • Reported in: P5.0 (10-Sep-12)
#49793
PDF page: ffoaz
Paper page: ffoaz

thanx big man--XacxBsONeptqyh

  • Reported in: P5.0 (18-Jul-12)
#49538
PDF page: rulcu
Paper page: rulcu

thinkingof what?--fUwPmhvVcEkW

  • Reported in: P5.0 (12-Sep-12)
#49796
PDF page: xjhst
Paper page: xjhst

Nigeria --nBPllQSpDudheUOWzH

  • Reported in: P5.0 (20-Jul-12)
#49546
PDF page: mjtvq
Paper page: mjtvq

this helped me as hell--pTdPCLRHYQbXZ

  • Reported in: P5.0 (09-May-12)
#49295
PDF page: sdjri
Paper page: sdjri

thanx for a great post mate--WerudMKjUoryQK

  • Reported in: P5.0 (16-Sep-12)
#49810
PDF page: czmyb
Paper page: czmyb

Luxembourg --IzfdhseVGzodKBxuQ

  • Reported in: P5.0 (16-Sep-12)
#49814
PDF page: bkgpj
Paper page: bkgpj

good one i luv it--ZFHWOWCwIcx

  • Reported in: P5.0 (21-Feb-12)
#48791
PDF page: ckpjy
Paper page: ckpjy

hmm what them is that? custom?--ODJqqYLdBjOHotPhnB

  • Reported in: P5.0 (25-Jul-12)
#49559
PDF page: vljld
Paper page: vljld

good infos as always maine--WNitEnYEIyhNpX

  • Reported in: P5.0 (17-Sep-12)
#49816
PDF page: mjsya
Paper page: mjsya

Ireland --UgFMrfMkkhzBlj

  • Reported in: P5.0 (03-Apr-12)
#49050
PDF page: lxlct
Paper page: lxlct

good blog as usual--flgUyuzqsSnBONQFpWE

  • Reported in: P5.0 (28-Feb-12)
#48822
PDF page: chxsm
Paper page: chxsm

thanx karen--rnzZmpaNZk

  • Reported in: P5.0 (29-Feb-12)
#48836
PDF page: xazrm
Paper page: xazrm

love to read--bUXmKIAuptYBRFCU

  • Reported in: P5.0 (02-Mar-12)
#48862
PDF page: swtov
Paper page: swtov

can i comment here--JjXBgGcseQvTfoFNF

  • Reported in: P5.0 (28-Jan-12)
#48607
PDF page: tmkni
Paper page: tmkni

w0w this is good--xOUshaXQdgii

  • Reported in: P5.0 (17-Apr-12)
#49123
PDF page: icotc
Paper page: icotc

lool cool--guvxstMiWDvduTUaWTP

  • Reported in: P5.0 (30-Jan-12)
#48613
PDF page: flnoe
Paper page: flnoe

Great tips!!! --hzmOiyQNICuR

  • Reported in: P5.0 (31-Jan-12)
#48624
PDF page: lgszx
Paper page: lgszx

thanx women--rBgoCUisXCWgyehn

  • Reported in: P5.0 (01-Feb-12)
#48627
PDF page: hkrtt
Paper page: hkrtt

this is what i needed man--WEfHVWfFAJEE

  • Reported in: P5.0 (01-Feb-12)
#48633
PDF page: qatbs
Paper page: qatbs

ok love that stuff--XfPVYIwbOMUoe

  • Reported in: P5.0 (01-Feb-12)
#48634
PDF page: zshcr
Paper page: zshcr

shoudlnt i try it?--hJMQMXDfQJOsFth

  • Reported in: P5.0 (01-Feb-12)
#48635
PDF page: oghac
Paper page: oghac

WPKLKR hmm what them is that? selfmade?--qSdVdQujSmcsPLF

  • Reported in: P5.0 (05-Mar-12)
#48892
PDF page: psnhi
Paper page: psnhi

my crew loves that --wjfljhfOlkEUctfT

  • Reported in: P5.0 (04-Jun-12)
#49404
PDF page: nprif
Paper page: nprif

mumbo jumbo--NbxOzBCNhHgqbNNXET

  • Reported in: P4.0 (09-Jan-11)
#46210
PDF page: 22
The instructions for installing on Debian need to include the package "erlang-dev" as well: erlang-dev provides kernel/include/file.hrl, without which...more...
  • Reported in: P5.0 (08-Mar-11)
#46539
PDF page: 42

The last paragraph would read better like this "Now we're comfortable....." (take out "that") or leave "that" and take out "so" after the ",".

  • Reported in: P5.0 (21-Feb-12)
#48788
PDF page: 47
Please note, this report looks similiar but actually differs in important detail to a previously reported Erratum. (The correction reported in the pre...more...
  • Reported in: P1.1 (26-Nov-13)
#53221
PDF page: 47
In the section of "where has my code gone?" the instruction is to create the file "C:/Program Files/erl5.4.12/.erlang" but for erlang 5.10.3, the file...more...
  • Reported in: P1.1 (29-Dec-11)
#48414
PDF page: 53
3> Double = Z. should return #Fun<erl_eval.6.56006484> since 1> Z = fun(X) -> 2*X end. returned it. Checked with R11B-5, R15B (Windows) and R14A (Linu...more...
  • Reported in: P1.1 (29-Dec-11)
#48417
PDF page: 57

In the box function partition is mentioned, but has not been introduced yet. Perhaps a reference could be useful?

  • Reported in: P5.0 (07-Mar-11)
#46530
PDF page: 81
In the output of try_test:demo2(), the fifth tuple output should begin with the number 5 as the first term. The example should read: 2> try_test:d...more...
  • Reported in: P5.0 (29-Oct-11)
#47848
PDF page: 86

On 3rd paragraph of section 5.2, the construct <<'cat'>> is invalid, the correct form is <<"cat">>.--Raúl Pedroche

  • Reported in: P1.1 (01-Jan-12)
#48440
PDF page: 88
4> list_to_binary([Bin1,1,[2,3,Bin2],4|Bin3]). The list [Bin1,1,[2,3,Bin2],4|Bin3] is improper. Furthermore, a binary is allowed in the tail positi...more...
  • Reported in: P5.0 (13-Jul-11)
#47259
PDF page: 100
User-Defined Attributes (...) In the attrs.erl example code, the following function is defined. fac(1) -> 1; fac(N) -> N * fac(N-1). Whi...more...
  • Reported in: P5.0 (07-Mar-11)
#46531
PDF page: 102
In the second paragraph of the section titled "Block Expressions", you are missing the word "a" between "have" and "sequence". It should read, "... b...more...
  • Reported in: P1.0 (06-Mar-16)
#80054
Paper page: 103

36Xwow is 30371, not 42368--Eric

  • Reported in: P1.1 (02-Jan-12)
#48448
PDF page: 115

Section Term Comparisons, seventh paragraph: "a integer" should be "an integer".

  • Reported in: P5.0 (07-Mar-11)
#46533
PDF page: 115
In the last paragraph of the page, the one with the curve sign next to it, last sentence, you talk about multiple occurrences of _Int in a complex pat...more...
  • Reported in: P1.1 (04-Jan-12)
#48459
PDF page: 124

The difference between "~n" and "\n" in the format string of io:format is not clear. Probably, some explanation could be useful.

  • Reported in: P1.1 (04-Jan-12)
#48457
PDF page: 125
The escript could be run on Windows by the following script: foo.bat @setlocal enableextensions & "C:\Program Files\erl5.9\bin\escript.exe" "%~f0"...more...
  • Reported in: P5.0 (24-Jul-11)
#47309
Paper page: 129
Chapter 7 is titled "Concurrency" and presents several of examples in the course of describing Erlang's model of concurrent programming. However, n...more...
  • Reported in: P5.0 (30-Dec-11)
#48433
PDF page: 143

Hah, Italy protesters rally against Berlusconi--Sterling CampbellAV

  • Reported in: P5.0 (10-Dec-11)
#48247
PDF page: 162
Under the heading 'System processes', in the first sentence of the first paragraph, it reads: "..., it too will die unless it is special kind of proce...more...
  • Reported in: P5.0 (31-Jul-11)
#47327
PDF page: 168
First line of the page reads: 7> edemo1:start(true, normal). It should be: 7> edemo1:start(true, {divide, 0}). Other it would not be the s...more...
  • Reported in: P5.0 (19-Jun-11)
#47203
PDF page: 189
{ok, Pid} = lib_chan:connect("localhost", 1234, nameServer, "ABXy45", ""). ** exception error: undefined function lib_md5:string/1 in functio...more...
  • Reported in: P5.0 (22-Oct-11)
#47800
Paper page: 201
There is no mention of the requirement of Tcl/Tk for gs to work properly, in fact how the code in io_widget is written if you don't have Tcl/Tk instal...more...
  • Reported in: P5.0 (22-Oct-11)
#47801
Paper page: 203
The loop(W) on page 203 has an incorrect receive pattern. It is listed as {W, {str, Str}} -> but I believe it should be {W, _State, {str, Str...more...
  • Reported in: P5.0 (11-Feb-12)
#48704
PDF page: 244
Hi Joe, I refer to your errata above on the updated lib_find.erl using re module. The following section in the above codes are in correct: ... ca...more...
  • Reported in: P5.0 (28-Mar-11)
#46696
PDF page: 277
In the box at the top of the page, second sentence, you have used the word "an" instead of "a". It should read, "You can think of a protected ETS tab...more...
  • Reported in: P5.0 (26-Jul-11)
#47315
PDF page: 305

"...State is the current state of the client. ..."
should read :
"State is the current state of the server."--Wiesław Poszewiecki

  • Reported in: P5.0 (18-Mar-11)
#46614
PDF page: 306
Under "Spontaneous Messages to the Server" section: change might suddenly receive a unexpected to might suddenly receive an unexpected--We...more...
  • Reported in: P5.0 (27-Jan-12)
#48602
PDF page: 307
In the Code Change section, there is an annotation with an incorrect link. The line is "This topic is described in detail in the section on release ha...more...
  • Reported in: P5.0 (24-May-11)
#47106
Paper page: 309
Current text: "(The entire listing for mnesia_test appears at the end of this chapter.)" The module included at the end of the chapter is "test_mne...more...
  • Reported in: P5.0 (28-Mar-11)
#46695
PDF page: 314
In the paragraph after the source code for the demo(select_shop) function, the last sentence, the one in parenthesis, you refer to the name of the mod...more...
  • Reported in: P3.0 (28-Jan-09)
#37325
Paper page: 344
the deliberate error seems to be that compute_area is only define for square and rectangle. the erroneous call in #3 on on the bottom of page 348 a...more...
  • Reported in: P4.0 (20-Jan-11)
#46283
Paper page: 357
The PDF files on erlang.org has been arranged making the links on for instance page 357 broken. Look at erlang.org/doc for current locations. The sa...more...
  • Reported in: P5.0 (29-Mar-11)
#46701
PDF page: 385
In the last paragraph, second sentence, there is an extra word "a" between "is" and "achieved". It should read, "This is achieved with indexer_checkp...more...
  • Reported in: P5.0 (21-Mar-11)
#46625
PDF page: 474

"Generic event handling behavior.g" The ".g" is a typo, I think.--Dave Roberts

Stuff To Be Considered in the Next Edition

  • Reported in: P1.0rc3 (03-Jun-07)
#29186
PDF page: 0
This is not specific to any page, but I feel that more attention needs to be paid to Erlang's string handling performance and techniques. The book men...more...
  • Reported in: P1.0rc2 (24-May-07)
#29127
PDF page: 23
Because erlang is mainly for embedded developer interesting, mabe you could note some common size/memory footprints and in this context point out of a...more...
  • Reported in: P1.0rc3 (30-May-07)
#29170
PDF page: 39
I'm new to this, but I note in the transition between the section on tuples and lists, no real explanation is given as to the difference between a tup...more...
  • Reported in: P1.0rc3 (12-Jun-07)
#29215
PDF page: 65
As someone with a Haskell background, I found the section about 'list comprehension' quite understandable. However I noted that my fellow colleagues (...more...
  • Reported in: P2.0 (30-Sep-07)
#29717
PDF page: 73

Last paragraph: "and computing some value" should be "and computes some value"--Richard Carlsson

  • Reported in: P2.0 (30-Sep-07)
#29718
PDF page: 74
Paragraph 5 ("If you ever see code like this...") doesn't really explain the problem, and makes it look like "++" is inherently bad somehow. Suggesti...more...
  • Reported in: P2.0 (05-Jan-08)
#30327
PDF page: 74
I think there should be a statement to clarify that the function odds_and_evens() use 'commas' in the body as it is made up of 'sequence of expressio...more...
  • Reported in: B1.15 (07-May-07)
#28933
PDF page: 77
I'd like to see a list of short exercises for the reader to do at the end of each chapter or throughout the chapter (with possible solutions) so that ...more...
  • Reported in: P2.0 (07-Sep-07)
#29631
PDF page: 77

The explanation of BIF is not until page 86, but is used on page 77 in the explanation of exceptions.--Matt Young

  • Reported in: P1.0rc3 (22-Jun-07)
#29255
PDF page: 85
4.7 -> Catching Every Possible Exception: you mention there 'tags', but from reading the book so far, I have no clue of what tags are... ( _:_ vs. _)...more...
  • Reported in: P3.0 (17-Mar-09)
#38380
PDF page: 88

It would be nice to mention bit strings and the /bits TypeSpecifier--James Morris

  • Reported in: P2.0 (30-Sep-07)
#29723
PDF page: 93
Paragraphs 4 and 5 both start with the same sentence: "To find the sync point..." (only the last word differs). In any case, those two paragraphs are ...more...
  • Reported in: P2.0 (30-Sep-07)
#29724
PDF page: 101
The attributes "-compile(...)" and "-vsn(...)" are described as "predefined module attributes" along with "-module(...)" etc., but in fact, they are t...more...
  • Reported in: P2.0 (30-Sep-07)
#29725
PDF page: 103
The subsection on Boolean Expressions should have a reference to the subsection on Short-Circuit Boolean Expressions on page 115, and vice versa. The ...more...
  • Reported in: P2.0 (30-Sep-07)
#29727
PDF page: 109
Subsection "Control Flow in Macros": This talks consistently about control flow "within a macro", "inside a macro definition", etc. But in fact, you c...more...
  • Reported in: P1.0 (25-Jul-07)
#29358
PDF page: 114
"References are globally unique" As far as i remember that means more than inside of one erlang machine. Would be nice to give more details, e.g. Ca...more...
  • Reported in: P1.0rc3 (07-Jun-07)
#29199
PDF page: 124

Maybe you like to link the pages 124 and 47. Both care about the .erlang file.

Kind regards,
Nils--Nils Muellner

  • Reported in: P2.0 (16-Mar-08)
#31251
PDF page: 124
not equivalent example "C:\Program Files\erl5.5.3\bin\erl.exe" -noshell -s hello start -s init stop #!/bin/sh erl -noshell -pa /home/joe/20...more...
  • Reported in: P2.0 (03-Apr-08)
#31565
Paper page: 143
The concept of a mailbox is referred to and relied upon halfway down the page, but it is not introduced and described until p145, which is also the on...more...
  • Reported in: P2.0 (10-Sep-07)
#29644
PDF page: 152

The notion of mailboxes is not introduced until section 8.6, but are referred to in 8.5 (receive with a timeout of 0)--Matt Young

  • Reported in: B1.15 (11-May-07)
#29002
PDF page: 154
I thought the section on Selective Recieve went a little fast. Since message passing/recieving is such a large portion of the language perhaps ano...more...
  • Reported in: P2.0 (30-Oct-07)
#29803
PDF page: 157
Section 8.10, "Spawning with MFAs": It is a misconception that spawns using funs would somehow cause problem with dynamic code loading. It is not! The...more...
  • Reported in: P2.0 (08-Sep-07)
#29638
Paper page: 182
Couple of things about section 10.5: $HOME/.erlang/lib_chan.conf as stated on p179 is $HOME/.erlang_config/lib_chan.conf on my system - this may be...more...
  • Reported in: P1.0rc3 (18-Jun-07)
#29243
PDF page: 193
Ok, I found the lib_chan code. The way it was presented to the reader did not make it clear that lib_chan was code that came with the book and needed ...more...
  • Reported in: P1.0rc3 (18-Jun-07)
#29238
PDF page: 222
The sample Makefile does not work as is on Mac OS X. Here is my version for Mac OS X: .SUFFIXES: .erl .beam .yrl .erl.beam: erlc -W $< MODS ...more...
  • Reported in: P2.0 (14-Feb-08)
#30751
PDF page: 223
The shared library must be called example1_drv.dll on Windows systems in order for erl_ddll:load_driver to find it. Otherwise you get ** exception e...more...
  • Reported in: P1.0rc3 (18-Jun-07)
#29239
PDF page: 226
In ports/example1_lid.c, you include erl_driver.h that comes with the sample code package. But it may fail under some reader's configuration, due to ...more...
  • Reported in: P2.0 (26-Apr-08)
#31745
PDF page: 235
I spoke too soon (#31742): there is no platform-dependent conversion happening at all. Opening a file with file:open() uses binary mode for read/write...more...
  • Reported in: P2.0 (26-Apr-08)
#31742
PDF page: 235
Last paragraph: the ~n formatting command: the explanation that "~n is smart" is wrong! (Try it on Windows, or just look in the code for io_lib_format...more...
  • Reported in: P1.1 (10-Dec-07)
#29973
Paper page: 242
There's suggestion to use certain kinds of accumulation techniques for tcp fragments. Now the R12B-0 have brought efficient binary accumulation which ...more...
  • Reported in: P1.0rc3 (13-Jun-07)
#29218
PDF page: 243

The file_info record shown here is missing the minor_device, inode, uid, and gid fields.--Steve Vinoski

  • Reported in: P2.0 (26-Apr-08)
#31749
PDF page: 261
In the UDP client/server example code, the server is parameterized with respect to 'Port', but the client code (both on p. 261 and p. 262) is hard-cod...more...
  • Reported in: P2.0 (28-Aug-07)
#29591
PDF page: 261
Paper page: 255
In the udp_test.erl server source: loop(Socket) -> receive {udp, Socket, Host, Port, Bin} = Msg -> The only explanation of the '= M...more...
  • Reported in: P1.0rc3 (01-Jun-07)
#29181
PDF page: 295
In the code for server2.erl, the catch clause uses "_:Why". I didn't understand what that meant at first. The concept of tags is introduced very loose...more...
  • Reported in: P2.0 (27-Apr-08)
#31777
PDF page: 316
You note that qlc:q(LC) only works if LC is a literal list comprehension, and not if LC is a variable, but you do not mention that it is necessary to ...more...
  • Reported in: P2.0 (27-Apr-08)
#31781
PDF page: 317
Section 17.2 "Adding and removing data...": It is frustrating to read about operations like mnesia:write(Row) when there has been no explanation at a...more...
  • Reported in: P1.0 (13-May-08)
#31987
Paper page: 337
SInce it's explaining error logger config file it's abit confusing to have "false" to represent something that is "turned on". First I thought it was ...more...
  • Reported in: B1.15 (14-May-07)
#29021
PDF page: 338
Could you please mention OTP behaviors not covered by the "OTP Introduction" and "Making a System With OTP" chapters, and where to go for further info...more...
  • Reported in: P2.0 (29-Feb-08)
#31066
PDF page: 343
When sasl_error_logger is configured to write to a file, on Windows at least, the directory must exist before sasl is started. Sasl will not create it...more...
  • Reported in: P2.0 (25-Nov-07)
#29919
PDF page: 346
Compiling my_error_handler (with erlc) produced the following warning: ./my_alarm_handler.erl:9: Warning: undefined callback function code_change/3 (...more...
  • Reported in: P2.0 (10-Mar-08)
#31192
Paper page: 358
The is_prime function uses the Rabin-Miller primality test, but doesn't properly cite it and doesn't note that it is a probablistic test rather than o...more...
  • Reported in: P1.1 (13-May-08)
#31992
PDF page: 363
Due to this line in make_prime/1: N = make_random_int(K), 2 * N - 3 may have more than K digits, which causes this kind of behaviour: -----------...more...
  • Reported in: P2.0 (28-Apr-08)
#31794
PDF page: 393
2nd bullet point: "TypeVar::Type: A type variable followed by a type. This means that TypeVar has type Type." This is a misunderstanding. The syntax m...more...
  • Reported in: P2.0 (30-Oct-07)
#29802
PDF page: 435
Chapter E.4: it is reloading, not recompilation in itself, which causes processes to call new code. Instead of saying "recompile", say "reload" or "re...more...
  • Reported in: P1.0 (16-Aug-07)
#29416
PDF page: 438
Dynamic code loading. a:loop() not mentioned. The possibility to load a new version for module a from inside module a by using the full qualified f...more...
  • Reported in: P2.0 (10-Dec-07)
#29971
PDF page: 440
It would be nice if the book included the proplists module among the modules it covers in Appendix F. That module is especially useful for handling JS...more...