AtomicScala / atomic-scala-corrections

Find out about or report corrections for the book "Atomic Scala"
http://www.atomicscala.com
6 stars 2 forks source link

Atom "Vectors", exercise 5 and 6 #55

Open waij opened 7 years ago

waij commented 7 years ago

In atom Vectors, exercise 5 and 6 we have to build on exercise 4. The output from exercise 4 is a String, not a Vector, so this cannot be done using our current knowledge of Scala. Your example output does not use the output of exercise 4 (with firehouse!), but uses the original vector with firehouse.