GHC.Data.Graph.Directed.Internal

ghc-9.14.0.20251028: The GHC API

Safe Haskell | None
Language | GHC2021

GHC.Data.Graph.Directed.Internal

# Documentation

data Graph node Source #

Constructors

Graph |
Fields gr_int_graph :: IntGraph gr_vertex_to_node :: Vertex -> node gr_node_to_vertex :: node -> Maybe Vertex

#### Instances

Instances details

Outputable node => Outputable (Graph node) Source # |
Instance details Defined in GHC.Data.Graph.Directed.Internal Methods ppr :: Graph node -> SDoc Source #

data Edge node Source #

Constructors

Edge node node |

#### Instances

Instances details

Outputable node => Outputable (Edge node) Source # |
Instance details Defined in GHC.Data.Graph.Directed.Internal Methods ppr :: Edge node -> SDoc Source #

verticesG :: Graph node -> [node] Source #

edgesG :: Graph node -> [Edge node] Source #

type IntGraph = Graph Source #

preorderF :: Forest a -> [a] Source #

reachable :: IntGraph -> [Vertex] -> [Vertex] Source #

scc :: IntGraph -> [SCC Vertex] Source #