static L> webs_differingNodes(Web a, Web b) { L> l = webs_matchNodes(a, b); new L> out; for (Pair p : l) { if (web_arity(p.a) == web_arity(p.b)) continue; out.add(p); } ret out; }