# map -package:base -is:exact -is:exact -package:text -package:containers -package:dlist -package:bytestring

O(n) Map a function over a vector.
Map a function over a Bundle
O(n) Map a function over a vector.
O(n) Map a function over a vector.
O(n) Map a function over a vector.
O(n) Map a function over a vector.
Transform this map by applying a function to every value.
Transform this set by applying a function to every value. The resulting set may be smaller than the source.
```>>> HashSet.map show (HashSet.fromList [1,2,3])
HashSet.fromList ["1","2","3"]
```
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, ...]
```
```>>> map (+1) [1, 2, 3]
```
Transform the original string-like value but keep it case insensitive.
Apply a function to each element of a Stream, lazily
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, ...]
```
```>>> map (+1) [1, 2, 3]
[2,3,4]
```
A Map from keys k to values a. The Semigroup operation for Map is union, which prefers values from the left operand. If m1 maps a key k to a value a1, and m2 maps the same key to a different value a2, then their union m1 <> m2 maps k to a1.
Not on Stackage, so not searched. Class of key-value maps
Apply a transformation to the other computation.
Map both the return value and output of a computation using the given function.
• ```runAccum (mapAccum f m) = f . runAccum
m```
Map both the return value and output of a computation using the given function.
• ```runAccumT (mapAccumT f m) = f .
runAccumT m```
Apply a function to transform the result of a continuation-passing computation.
• ```runCont (mapCont f m) = f . runCont
m```
Apply a function to transform the result of a continuation-passing computation. This has a more restricted type than the map operations for other monad transformers, because ContT does not define a functor in the category of monads.
• ```runContT (mapContT f m) = f . runContT
m```
Map the unwrapped computation using the given function.
• ```runExcept (mapExcept f m) = f (runExcept
m)```
Map the unwrapped computation using the given function.
• ```runExceptT (mapExceptT f m) = f
(runExceptT m)```