Hoogle Search
Within LTS Haskell 24.16 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
map :: (a -> b) -> IntervalMap k a -> IntervalMap k bIntervalMap Data.IntervalMap.Lazy O(n). Map a function over all values in the map.
map :: (a -> b) -> IntervalMap k a -> IntervalMap k bIntervalMap Data.IntervalMap.Strict O(n). Map a function over all values in the map.
map :: (Interval b e2, Ord b) => (a -> b) -> IntervalSet a -> IntervalSet bIntervalMap Data.IntervalSet O(n log n). Map a function over all values in the set. The size of the result may be smaller if f maps two or more distinct elements to the same value.
map :: (a -> b) -> BDictMap a -> BDictMap bbencoding Data.BEncode.BDict O(n). Map a function over all values in the dictionary.
map :: (Word8 -> Word8) -> ByteSet -> ByteSetbyteset Data.ByteSet O(n). Map a function over a byteset.
map :: Functor f => (a -> b) -> f a -> f bclassy-prelude-yesod ClassyPrelude.Yesod No documentation available.
-
clay Clay No documentation available.
-
clay Clay.Elements No documentation available.
-
constrained-categories Control.Category.Constrained.Prelude map f xs is the list obtained by applying f to each element of xs, i.e.,
map f [x1, x2, ..., xn] == [f x1, f x2, ..., f xn] map f [x1, x2, ...] == [f x1, f x2, ...]
this means that map id == idExamples
>>> map (+1) [1, 2, 3] [2,3,4]
>>> map id [1, 2, 3] [1,2,3]
>>> map (\n -> 3 * n + 1) [1, 2, 3] [4,7,10]
-
constrained-categories Control.Category.Hask map f xs is the list obtained by applying f to each element of xs, i.e.,
map f [x1, x2, ..., xn] == [f x1, f x2, ..., f xn] map f [x1, x2, ...] == [f x1, f x2, ...]
this means that map id == idExamples
>>> map (+1) [1, 2, 3] [2,3,4]
>>> map id [1, 2, 3] [1,2,3]
>>> map (\n -> 3 * n + 1) [1, 2, 3] [4,7,10]