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

9
LINES

< > BotCompany Repo | #1007668 // dumpConcepts2

JavaX fragment (include)

static S dumpConcepts2(L<AIConcept> concepts) {
  new L<S> l;
  for (AIConcept c : concepts) {
    L x = ll(c.globalID, c.name);
    addIfNempty(x, c.comment);
    l.add("  " + struct(x));
  }
  ret print("[[\n" + join(",\n", l) + "\n]]");
}

Author comment

Began life as a copy of #1007667

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: #1007668
Snippet name: dumpConcepts2
Eternal ID of this version: #1007668/2
Text MD5: 9af6f718be983d79ecbfd15a79bac809
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-02 23:06:16
Source code size: 249 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 449 / 453
Version history: 1 change(s)
Referenced in: [show references]