3
votes
1answer
76 views

mapM for both keys and values of Data.Map

I'm writing a monadic parser instance that transforms Data.Map.Map's: instance (Ord a, FromEDN a, FromEDN b) => FromEDN (M.Map a b) where parseEDNv (E.Map m) = mapMmap parseEDNv parseEDN m ...