The Polar Game in Haskell, Day 5 3/4: a Bug Fix and liftM

from blog Praise, Curse, and Recurse, | ↗ original
Jeff Licquia has been playing further with the code and so have I. He discovered a bug in the version I posted in yesterday's installment (my bad). In slide' I neglected to call slide' in the recursive version of slide' but called the existing non-monadic slide. In other words, I had: slide' ( t : Empty : ts ) = noscore ( Empty : ( slide ( t : ts...