List 5.8 lacks a struck-out line


#1

In Chapter 5, List 5.8 (SimVillage.kt) should include a struck-out line:

runSimulation("Guyal", greetingFunction)

which was present in List 5.7, before using the shorthand syntax in this file.


#2

Good catch! I’ve added this to our list of errata: Errata (1st Edition)