static L webs_tripleSearch_dollarX(Symbol a, Symbol b, Symbol c, Collection webs) { new L l; bool isA = eq(a, "$X"); for (Web web : webs) { Pair p = web_matchTriple_dollarVars(a, b, c, web); if (p != null) l.add(isA ? p.a : p.b); } ret l; } static L webs_tripleSearch_dollarX(Collection webs, T3 t) { ret webs_tripleSearch_dollarX(t.a, t.b, t.c, webs); }