From Ruby to Elixir:

Oof, thanks for this! I will make sure it’s fixed (and have an action item to go through every code entry in book to make sure it works properly.)

If it’s not clear, the ac variable should be called max here. I originally called it accumulator, but I find max easier to understand as that represents the purpose of the accumulation.