title: Looping through a map data structure in Haskell
body: <p>I have a map data structure that has the following structure:-
  "What is the capital of UK"-> "London"
  "What is the capital of France"-> "Paris"
  I want to loop through this map displaying the question: "What is the capital of UK", asking for user input. If the user answers "London" I print correct, otherwise, I print the correct answer "London". This is easy in an imperative language like C# but I haven't figured how to do it in Haskell.</p>