Hoogle Search
Within LTS Haskell 24.15 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
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")])
map :: (a -> b) -> NESeq a -> NESeq bnonempty-containers Data.Sequence.NonEmpty.Internal Defined here but hidden; intended for use with RULES pragma.
map :: Ord b => (a -> b) -> NESet a -> NESet bnonempty-containers Data.Set.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
-
prelude-compat Data.List2010 No documentation available.