Did you know ... Search Documentation:
Pack xtools -- prolog/module_loops.pl
PublicShow source
 module_loops(-Loops, +Options) is det
return the module loops, i.e., the module load chain that end up loading the module itself.