scala-impatient icon indicating copy to clipboard operation
scala-impatient copied to clipboard

My solutions for "Scala for the Impatient" exercises

Results 12 scala-impatient issues
Sort by recently updated
recently updated
newest added

https://github.com/hempalex/scala-impatient/blob/383939e9018c7324b5d6a817235098d0d56b401d/Chapter14/05.scala#L5 This will not work for deeply nested trees. In your case it works because you only have List[List[Int]] in your tests. It wouldn't work for List[List[List[Int]]] for example

http://rosettacode.org/wiki/Caesar_cipher#Scala

The ^ operator is the bitwise XOR of the value, instead Math.pow() raises 2 to 32. You could also use 1.toLong

javadoc for translate in Rectangle class: "Translates this Rectangle the indicated distance, \* to the right along the X coordinate axis, and \* downward along the Y coordinate axis."