static L ai_tripleRefsToTexts(Symbol a, Symbol b, Symbol c, L> l) { if (empty(l)) ret sharedEmptyList(); new L out; for (TripleRef ref : l) if (ref != null) { T3 t = ref.triple; SymbolSymbol match = simpleMatchTriple_dollarVars(a, b, c, t); if (match != null) out.add(match.get(symbol_dollarX())); ifdef ai_tripleRefsToTexts_debug else print("No match: " + t); endifdef } ret out; }