Enumerate the left recursion in the call graph. For each set of
predicates that are mutually recursive through calls in left position
(see module header), LeftRecursion is a dict with the keys
below. The first form computes the SCCs using
call_graph_sccs/2
from Options.
members
Sorted list of predicate indicators involved.
cycle
List of edges (see call_graph_sccs/2)
that form a shortest cycle through the first member.
edges
All left edges between the members.
History
Introduced in 11.1.1 (👉1b03e7f) library(prolog_call_cycles) to find recursion in the call graph