The first line (output of the countchars1.scala) program doesn't include the .toString call in Listing 3.10 ---- This issue went away in 5ed because we replaced that section with one about map and for-yield.
Copyright © 2024 Artima, Inc. All rights reserved.