Hoogle Search
Within LTS Haskell 24.28 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mapHead :: (a -> a) -> [a] -> [a]code-conjure Conjure.Utils Applies a function to the head of a list.
-
comfort-graph Data.Graph.Comfort \(TestGraph gr) -> Graph.mapEdge id gr == gr
mapEdgeKeys :: (Edge e1, Ord n) => (e0 n -> e1 n) -> Graph e0 n el nl -> Graph e1 n el nlcomfort-graph Data.Graph.Comfort Same restrictions as in mapMaybeEdgeKeys.
mapEdgeWithKey :: (e n -> el0 -> el1) -> Graph e n el0 nl -> Graph e n el1 nlcomfort-graph Data.Graph.Comfort No documentation available.
-
comfort-graph Data.Graph.Comfort The index map must be an injection, that is, nodes must not collaps. Also the node and edge index maps must be consistent, i.e.
from (edgeMap e) == nodeMap (from e) to (edgeMap e) == nodeMap (to e)
Strictly spoken, we would need the node map only for isolated nodes, but we use it for all nodes for simplicity. -
comfort-graph Data.Graph.Comfort You may only use this for filtering edges and use more specialised types as a result. You must not alter source and target nodes of edges.
-
comfort-graph Data.Graph.Comfort \(TestGraph gr) -> Graph.mapNode id gr == gr
-
comfort-graph Data.Graph.Comfort No documentation available.
-
comfort-graph Data.Graph.Comfort No documentation available.
mapInput :: forall i j o u (m :: Type -> Type) a . (i -> j) -> Pipe j o u m a -> Pipe i o u m aconduino Data.Conduino (Contravariantly) map over the expected input type.