!7 p { S base = "heise.de 2018/04/20 (raw)"; for (S list : mechListsPlusNumber(barCombine(base, "Similar lines"))) { S moreList = barCombine(list, "Theory 1", "More matching lines"); L more = mechList_opt(moreList); if (nempty(more)) { print("Merging " + moreList + " -> " + list); addToMechList(list, more); clearMechList(moreList); } } }