[Haskell-beginners] Finding the first successful Map.lookup