The treachery of the whales - 2 (haskell)

Sign in to test your solution.