1 | static S dumpConcepts2(L<AIConcept> concepts) { |
2 | new L<S> l; |
3 | for (AIConcept c : concepts) { |
4 | L x = ll(c.globalID, c.name); |
5 | addIfNempty(x, c.comment); |
6 | l.add(" " + struct(x)); |
7 | } |
8 | ret print("[[\n" + join(",\n", l) + "\n]]"); |
9 | } |
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: | 554 / 556 |
Version history: | 1 change(s) |
Referenced in: | [show references] |