Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
map :: (a -> b) -> MonoidalIntMap a -> MonoidalIntMap bmonoidal-containers Data.IntMap.Monoidal.Strict No documentation available.
map :: (a -> b) -> MonoidalMap k a -> MonoidalMap k bmonoidal-containers Data.Map.Monoidal No documentation available.
map :: (a -> b) -> MonoidalMap k a -> MonoidalMap k bmonoidal-containers Data.Map.Monoidal.Strict No documentation available.
map :: (a -> b) -> MultiMap k a -> MultiMap k bmultimap Data.MultiMap Map a function over all values in the map.
map :: (Ord a, Ord b) => (a -> b) -> SetMap k a -> SetMap k bmultimap Data.SetMap Map a function over all values in the map.
map :: (a -> b) -> NEIntMap a -> NEIntMap bnonempty-containers Data.IntMap.NonEmpty O(n). IntMap a function over all values in the map.
map (++ "x") (fromList ((5,"a") :| [(3,"b")])) == fromList ((3, "bx") :| [(5, "ax")])
map :: (a -> b) -> NEIntMap a -> NEIntMap bnonempty-containers Data.IntMap.NonEmpty.Internal O(n). IntMap a function over all values in the map.
map (++ "x") (fromList ((5,"a") :| [(3,"b")])) == fromList ((3, "bx") :| [(5, "ax")])
map :: (Key -> Key) -> NEIntSet -> NEIntSetnonempty-containers Data.IntSet.NonEmpty O(n*log n). map f s is the set obtained by applying f to each element of s. It's worth noting that the size of the result may be smaller if, for some (x,y), x /= y && f x == f y
map :: (a -> b) -> NEMap k a -> NEMap k bnonempty-containers Data.Map.NonEmpty O(n). Map a function over all values in the map.
map (++ "x") (fromList ((5,"a") :| [(3,"b")])) == fromList ((3, "bx") :| [(5, "ax")])
map :: (a -> b) -> NEMap k a -> NEMap k bnonempty-containers Data.Map.NonEmpty.Internal O(n). Map a function over all values in the map.
map (++ "x") (fromList ((5,"a") :| [(3,"b")])) == fromList ((3, "bx") :| [(5, "ax")])