Ocaml_typing.Short_paths_graph
SourceShort_path_graph
is a representation of the environment (as a graph, using Graph.t
) that is more suitable to answer short path queries.
The only structures shared with the typechecker are Ident.t
and Path.t
. Graph.t
is pure and doesn't hook into the Env.t
. Context has to be rebuilt by outside code using Graph.add
.