Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

12
LINES

< > BotCompany Repo | #1015413 // mergeLinesIntoGlyphTeachLog

JavaX fragment (include)

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: 287 / 315
Version history: 4 change(s)
Referenced in: [show references]