small medium large xlarge

The latest version of the book is B12.0, released 9 days ago. If you've bought a PDF of the book and would like to update 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: B10.0 (13-Nov-18)
#83912
PDF page: 1
I suggest to explicitly state in the book's description that most of it is refering to elm 0.18. IMO, this book is quite a disappointment. Yes, I k...more...
Brian MacDonald says: As of today (late November), 7 of the book's 11 chapters have been updated to Elm 0.19. The remaining 4 chapters will be updated as soon as possible, but their content depends on external libraries that have not yet been updated to 0.19. The chapters that have not yet been updated are marked as such in the beta, and readers will receive update notifications when new versions of the chapters are released.
  • Reported in: B5.0 (07-Mar-18)
#82879
PDF page: 10
This is just a suggestion. I suggest that you add the chapter number to the folder name of the code. Like this. 01-get-started/elm-files/Main01.elm...more...
  • Reported in: B12.0 (07-Dec-18)
#84122
Paper page: 11
End of first line of the page: "The elm/browser and elm/html packages let you build applications for the browser." "The" at the beginning of the sent...more...
  • Reported in: B11.0 (01-Dec-18)
#84061
PDF page: 19
Chapter 1 - Get started with Elm ( page 19 on PDF ), Use Functions as Building Blocks > person name other = sayHello "Hi" other ++ " My name is " +...more...
  • Reported in: B8.0 (18-Sep-18)
#83674
PDF page: 20
Something in the behaviour of the elm compiler may have changed. The book says "elm make src/Picshare.elm" - This command will compile "Picshare.elm" ...more...
  • Reported in: B9.0 (21-Sep-18)
#83683
PDF page: 20
My earlier erratum report was incomplete (but there isn't any way to edit it) On page 20, one is actually told to "elm make src/Picshare.elm --outp...more...
  • Reported in: B9.0 (21-Sep-18)
#83684
PDF page: 21
"Elm.Picshare.embed is not function" When one uses the provided "embedding HTML" for the picshare application, which pulls in the picshare.js, then...more...
  • Reported in: B7.0 (28-Jul-18)
#83426
Paper page: 22

The code example on this page is displaying the comment marks at the end of the highlighted/numbered lines.--Steve Rowley

  • Reported in: B8.0 (08-Sep-18)
#83635
PDF page: 27
Paper page: 26
Second paragraph of Chapter 2, last sentence: "Along the way, we’ll learn about records, union types, and immutability, which are all important pi...more...
  • Reported in: B12.0 (06-Dec-18)
#84111
PDF page: 34
I am not sure what happened, but when I compiled I still saw all three photos. I had to delete index.html and copy it again from code\static-app and ...more...
  • Reported in: B9.0 (21-Sep-18)
#83679
PDF page: 36
I would suggest introducing type aliases already on page 36 to describe the Model. type alias PhotoRecord = { url : String, caption : String, like...more...
  • Reported in: B9.0 (21-Sep-18)
#83680
PDF page: 36
Further to my suggestion to introduce type aliases on 36, also introduce the union type for Msg at once. Both together allow one to immediately make t...more...
  • Reported in: B12.0 (06-Dec-18)
#84113
PDF page: 39
The book tells us to update the type annotation for the main variable with "main: Html Msg", but updates are required for view and viewDetailedPhoto a...more...
  • Reported in: B9.0 (04-Oct-18)
#83729
PDF page: 50
I feel that the refactored "viewLoveButton" is a bit "smelly" because deep down in the div tree, the instance "ToggleLike" comes a bit out of nowhere....more...
  • Reported in: B9.0 (04-Oct-18)
#83730
PDF page: 51
I suggest to hand developer a tool: logging to the browser's logging console, and this very early. It's more fun when you see what's going on. Elm ...more...
  • Reported in: B9.0 (04-Oct-18)
#83731
PDF page: 53
viewCommentList comments = case comments of [] -> text "" _ -> ...more...
  • Reported in: B9.0 (04-Oct-18)
#83733
PDF page: 57
In "viewComments", the SaveComment and UpdateComment constructors are hardcoded-in. If one tries to softcode them (i.e. pass them in from the calle...more...
  • Reported in: B10.0 (13-Nov-18)
#83914
PDF page: 58
I find page 57 and 58 are two the most difficult pages to grasp until now. I think it has something to do with "You can think of the 'String' value a...more...
  • Reported in: B9.0 (04-Oct-18)
#83732
PDF page: 59
In case an "only whitespace" comment is submitted (which is possible as "only whitespace" still enables the "save button"), one might want to reset th...more...
  • Reported in: B10.0 (25-Oct-18)
#83818
PDF page: 72
Hi Jeremy, love your book. It's great! Here a minor suggestion. At the end of Chapter 4, it took me quite a while until I figured out why my picsha...more...
  • Reported in: B10.0 (26-Oct-18)
#83820
PDF page: 87
Paper page: 102

all Picshare.elm code files for chapter 5 are not working with Elm 0.19

Jeremy Fairbank says: This is still expected. Chapter 5 has not been updated for 0.19 yet.
  • Reported in: B10.0 (26-Oct-18)
#83819
PDF page: 90

"code/real-time/Picshare01.elm" is still 0.18, e.g. main

Jeremy Fairbank says: This is still expected. Chapter 5 has not been updated for 0.19 yet.
  • Reported in: B10.0 (21-Oct-18)
#83798
PDF page: 104
I tried to proceed with the salad builder example. I'm using Windows 10 and I'm unable to install the npm packages. Cheers, Christoph npm...more...
  • Reported in: B7.0 (30-Jun-18)
#83311
PDF page: 240
Hello there I managed to get completely different numbers by using Firefox (v61). For example: fold and map vs foldMap; foldMap is a little m...more...
Jeremy Fairbank says: I do mention the browser and version I'm using, but it may still be worth mentioning that other browsers might yield totally different results. It's tricky with this kind of chapter.