The Polar Game in Haskell, Day 4 1/2: Folding a Penguin

from blog Praise, Curse, and Recurse, | ↗ original
So, just a quick update today. While I was cooking bacon this morning I looked at comments and tried to implement an idea I had last night. Roland suggested I could get rid of Edge. I had already been asking myself this. Using a special flag value for the edge-of-board case came from the Objective-C version where I wanted to avoid reading tiles...