-- creates a dictionary of states and capitals 

-- NOT SURE IF tellMeAbout IS TOO COMPLEX IN THIS SET OF EXAMPLES

tellMeAbout :: String -> String
tellMeAbout state =
    case (lookup state capitals) of -- checks to see if a capital is in the dictionary via lookup, which returns a Maybe String representing a capital if it is there and Nothing if it is not (more on cases and monads to come)
        Just city -> "The capital of " ++ state ++ " is " ++ city -- should the monad contain a string, it is unwrapped to a value of type Just String (more on this later) and concatenated to the following message
        Nothing -> "I don't know anything about " ++ state -- should the monad contain Nothing, what is returned is the following message concatenated to the state name
tellMeAbout :: String -> String
tellMeAbout state =
    case (lookup state capitals) of -- checks to see if a capital is in the dictionary via lookup, which returns a Maybe String representing a capital if it is there and Nothing if it is not (more on cases and monads to come)
        Just city -> "The capital of " ++ state ++ " is " ++ city -- should the monad contain a string, it is unwrapped to a value of type Just String (more on this later) and concatenated to the following message
        Nothing -> "I don't know anything about " ++ state -- should the monad contain Nothing, what is returned is the following message concatenated to the state name
tellMeAbout state =
    case (lookup state capitals) of -- checks to see if a capital is in the dictionary via lookup, which returns a Maybe String representing a capital if it is there and Nothing if it is not (more on cases and monads to come)
        Just city -> "The capital of " ++ state ++ " is " ++ city -- should the monad contain a string, it is unwrapped to a value of type Just String (more on this later) and concatenated to the following message
        Nothing -> "I don't know anything about " ++ state -- should the monad contain Nothing, what is returned is the following message concatenated to the state name