-- how can I get something like: -- λ> numTopicsPerState -- fromList [("MA", fromList[("Pregnancy",1)]),("TX", fromList[("Alcohol",2)])]
-- so we need to give the modified stae of the new map isntead of M.empty -- λ> m -- fromList [("MA",fromList [("Pregnancy",1)]),("TX",fromList [("Alcohol",2)])] -- λ> M.insertWith (\new old -> new) "MA" M.empty m -- fromList [("MA",fromList []),("TX",fromList [("Alcohol",2)])]