1 | static S dumpConcepts(L<AIConcept> concepts) {
|
2 | new L<S> l; |
3 | for (AIConcept c : concepts) {
|
4 | S s = " AIConcept(globalID=" + struct(c.globalID) |
5 | + ", name= " + struct(c.name); |
6 | if (nempty(c.comment)) |
7 | s += ", comment=" + struct(c.comment); |
8 | l.add(s + ")"); |
9 | } |
10 | ret print("[\n" + join(",\n", l) + "\n]");
|
11 | } |
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: | #1007667 |
| Snippet name: | dumpConcepts |
| Eternal ID of this version: | #1007667/8 |
| Text MD5: | f8a0e0a4b14578d8a735a94c0f49c7bc |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-03-30 22:24:10 |
| Source code size: | 338 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 702 / 720 |
| Version history: | 7 change(s) |
| Referenced in: | [show references] |