static void mergeLinesIntoGlyphTeachLog(S snippetID, S text) {
L<S> lines = map afterSquareBracketStuff(unquoteWholeLog(text));
Set<S> existing = asCISet(map afterSquareBracketStuff(scanLog(glyphTeachLog())));
//pnl(lines);
//pnl(existing);
lines = listWithoutSet(lines, existing);
if (nempty(lines)) {
print("Have " + n2(lines, "new line") + " for glyph log.");
for (S line : lines)
logQuoted(glyphTeachLog(), "[" + snippetID + "] " + line);
}
}download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1015413 |
| Snippet name: | mergeLinesIntoGlyphTeachLog |
| Eternal ID of this version: | #1015413/5 |
| Text MD5: | 7d86c38b5cef8615ec208b9e68591841 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-05-13 18:22:24 |
| Source code size: | 485 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 754 / 776 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |