Desugared.DependencySourceScope dependencies computations using OCamlgraph
On the edges, the label is the position of the expression responsible for the use of the variable. In the graph, x -> y if x is used in the definition of y.
Module of the graph, provided by OCamlGraph
Module of the topological traversal of the graph, provided by OCamlGraph
Tarjan's stongly connected components algorithm, provided by OCamlGraph
Returns an ordering of the scope variables and subscope compatible with the dependencies of the computation
Outputs an error in case of cycles.
Builds the dependency graph of a particular scope