Thought I’d point out what I perceived to be a potential typo. Loving the book so far!
Toward the bottom of page 31, I believe forested?/3 should in fact be forested?/1
Text in question:
First, let’s recompile the Island module so that we’ll have access to the guess/2 and _forested?/3_ functions we just wrote.
def forested?(island), do: MapSet.equal?(island.coordinates, island.hit_coordinates)