Chapter 4
Polishing the Word Game
Section 1
Grid Coordinates and Infinite Lists
You will learn how to associate every character on the word grid with a set of coordinates such as (2, 3) pointing at its position by row and column. We can accomplish this by learning more about Haskell's list type, including how to work with infinite lists, repeat values, iterate them with the List monad and list comprehensions, and join lists together with zip. - Explore Haskell's list functions to get an overview and a feel for possible approaches - Look at the List Monad, which is a familiar solution similar to nested 'for' loops in other languages - See how to combine functions including 'repeat' and 'zip' in a declarative way which will be useful throughout the rest of this tutorial