1 | static void mergeLinesIntoGlyphTeachLog(S snippetID, S text) {
|
2 | L<S> lines = map afterSquareBracketStuff(unquoteWholeLog(text)); |
3 | Set<S> existing = asCISet(map afterSquareBracketStuff(scanLog(glyphTeachLog()))); |
4 | //pnl(lines); |
5 | //pnl(existing); |
6 | lines = listWithoutSet(lines, existing); |
7 | if (nempty(lines)) {
|
8 | print("Have " + n2(lines, "new line") + " for glyph log.");
|
9 | for (S line : lines) |
10 | logQuoted(glyphTeachLog(), "[" + snippetID + "] " + line); |
11 | } |
12 | } |
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: | 563 / 605 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |