map package:ghc

Apply a function to each element of a Stream, lazily
Map a function over all values in the map.
map (++ "x") (fromList [(5,"a"), (3,"b")]) == fromList [(3, "bx"), (5, "ax")]
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 function f over all the ModSummaries. To preserve invariants f can't change the isBoot status.
A utility for renaming uniques in CLabels to produce deterministic object. Note that not all Uniques are mapped over. Only those that can be safely alpha renamed, e.g. uniques of local symbols, but not of external ones. See Note [Renaming uniques deterministically].
map a function over the nodes of a Block
A strict mapBlock
map over a block, with different functions to apply to first nodes, middle nodes and last nodes respectively. The map is strict.
Maps over all nodes in a graph.
Function mapGraphBlocks enables a change of representation of blocks, nodes, or both. It lifts a polymorphic block transform into a polymorphic graph transform. When the block representation stabilizes, a similar function should be provided for blocks.