Uli Hofstoetter wrote:i guess Campbell wanted to challenge my ambition to create my own solution.
Hunter McMillen wrote:Got it
Solves in a few seconds
Garrett Rowe wrote:[epilogue] After looking at it for about 5 minutes, I get what I did here. It probably helps that I already knew the algorithm. I really should have used type annotations (optional in Haskell) to help me out. I take back what I said about Haskell, or at least amend it to read "I hate reading someone else's Haskell", with the caveat being that my own code can start looking like someone else's code in about 6 months.[/epilogue]