Errata

Kotlin Cookbook

Errata for Kotlin Cookbook

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page 117
Last paragraph (Example 6-14)

"Example 6-14. The yieldAll function inside a sequence

vale sequence = sequence {
val start = 0
yield(start)
yield(1..5 step 2)
}"

"vale sequence" is a value declaration and should be "val sequence"

Guillermo D. GarcĂ­a Escobar  Apr 22, 2020