static void addToLocalMechList_uniq(S listName, S text) { LS existing = tlft(localMechList_opt_raw_fresh(listName)); LS newLines = listMinusSet(lines(text), existing); if (empty(newLines)) ret; appendToLocalMechList(listName, lines(newLines)); }