(a -> b) -> (a, a) -> (b, b) -text

(><) :: (a -> b) -> (c -> d) -> (a, c) -> (b, d)
fgl Data.Graph.Inductive.Query.Monad
mapSnd :: (a -> b) -> (c, a) -> (c, b)
fgl Data.Graph.Inductive.Query.Monad
mapFst :: (a -> b) -> (a, c) -> (b, c)
fgl Data.Graph.Inductive.Query.Monad
emap :: DynGraph gr => (b -> c) -> gr a b -> gr a c
fgl Data.Graph.Inductive.Graph
Map a function over the Edge labels in a graph.
nmap :: DynGraph gr => (a -> c) -> gr a b -> gr c b
fgl Data.Graph.Inductive.Graph
Map a function over the Node labels in a graph.
(^<<) :: Arrow a => (c -> d) -> a b c -> a b d
base Control.Arrow
Postcomposition with a pure function (right-to-left variant).
(>>^) :: Arrow a => a b c -> (c -> d) -> a b d
base Control.Arrow
Postcomposition with a pure function.
elfilter :: DynGraph gr => (b -> Bool) -> gr a b -> gr a b
fgl Data.Graph.Inductive.Basic
Filter based on edge label property.
ixmap :: (IArray a e, Ix i, Ix j) => (i, i) -> (i -> j) -> a j e -> a i e
array Data.Array.IArray
Returns a new array derived from the original array by applying a function to each of the indices.
amap :: (IArray a e', IArray a e, Ix i) => (e' -> e) -> a i e' -> a i e
array Data.Array.IArray
Returns a new array derived from the original array by applying a function to each of the elements.
(^>>) :: Arrow a => (b -> c) -> a c d -> a b d
base Control.Arrow
Precomposition with a pure function.
(<<^) :: Arrow a => a c d -> (b -> c) -> a b d
base Control.Arrow
Precomposition with a pure function (right-to-left variant).
mapArray :: (MArray a e' m, MArray a e m, Ix i) => (e' -> e) -> a i e' -> m (a i e)
array Data.Array.MArray, array Data.Array.MArray.Safe
Constructs a new array derived from the original array by applying a function to each of the elements.
mapIndices :: (MArray a e m, Ix i, Ix j) => (i, i) -> (i -> j) -> a j e -> m (a i e)
array Data.Array.MArray, array Data.Array.MArray.Safe
Constructs a new array derived from the original array by applying a function to each of the indices.