Hoogle Search
Within LTS Haskell 24.45 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
adjacencyMap :: (ToGraph t, Ord (ToVertex t)) => t -> Map (ToVertex t) (Set (ToVertex t))algebraic-graphs Algebra.Graph.ToGraph The adjacency map of a graph: each vertex is associated with a set of its direct successors.
adjacencyMap == Algebra.Graph.AdjacencyMap.adjacencyMap . toAdjacencyMap
adjacencyMapTranspose :: (ToGraph t, Ord (ToVertex t)) => t -> Map (ToVertex t) (Set (ToVertex t))algebraic-graphs Algebra.Graph.ToGraph The transposed adjacency map of a graph: each vertex is associated with a set of its direct predecessors.
adjacencyMapTranspose == Algebra.Graph.AdjacencyMap.adjacencyMap . toAdjacencyMapTranspose
toAdjacencyIntMap :: ToGraph t => t -> AdjacencyIntMapalgebraic-graphs Algebra.Graph.ToGraph Convert a value to the corresponding AdjacencyIntMap.
toAdjacencyIntMap == foldg empty vertex overlay connect
toAdjacencyIntMapTranspose :: ToGraph t => t -> AdjacencyIntMapalgebraic-graphs Algebra.Graph.ToGraph Convert a value to the corresponding AdjacencyIntMap and transpose the result.
toAdjacencyIntMapTranspose == foldg empty vertex overlay (flip connect)
toAdjacencyMap :: ToGraph t => t -> AdjacencyMap (ToVertex t)algebraic-graphs Algebra.Graph.ToGraph Convert a value to the corresponding AdjacencyMap.
toAdjacencyMap == foldg empty vertex overlay connect
toAdjacencyMapTranspose :: ToGraph t => t -> AdjacencyMap (ToVertex t)algebraic-graphs Algebra.Graph.ToGraph Convert a value to the corresponding AdjacencyMap and transpose the result.
toAdjacencyMapTranspose == foldg empty vertex overlay (flip connect)
fromAdjacencyIntMap :: AdjacencyIntMap -> GraphKL Intalgebraic-graphs Data.Graph.Typed Build GraphKL from an AdjacencyIntMap. If fromAdjacencyIntMap g == h then the following holds:
map (fromVertexKL h) (vertices $ toGraphKL h) == toAscList (vertexIntSet g) map (\(x, y) -> (fromVertexKL h x, fromVertexKL h y)) (edges $ toGraphKL h) == edgeList g toGraphKL (fromAdjacencyIntMap (1 * 2 + 3 * 1)) == array (0,2) [(0,[1]), (1,[]), (2,[0])] toGraphKL (fromAdjacencyIntMap (1 * 2 + 2 * 1)) == array (0,1) [(0,[1]), (1,[0])]
fromAdjacencyMap :: Ord a => AdjacencyMap a -> GraphKL aalgebraic-graphs Data.Graph.Typed Build GraphKL from an AdjacencyMap. If fromAdjacencyMap g == h then the following holds:
map (fromVertexKL h) (vertices $ toGraphKL h) == vertexList g map (\(x, y) -> (fromVertexKL h x, fromVertexKL h y)) (edges $ toGraphKL h) == edgeList g toGraphKL (fromAdjacencyMap (1 * 2 + 3 * 1)) == array (0,2) [(0,[1]), (1,[]), (2,[0])] toGraphKL (fromAdjacencyMap (1 * 2 + 2 * 1)) == array (0,1) [(0,[1]), (1,[0])]
canMmapSampleResolution :: T i y Boolalsa-pcm Sound.ALSA.PCM.Parameters.Hardware No documentation available.
timestampMmap :: TimestampModealsa-pcm Sound.ALSA.PCM.Parameters.Software No documentation available.