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

9
LINES

< > BotCompany Repo | #1012519 // ai_allSubtypeRelations

JavaX fragment (include)

1  
static L<Pair<S>> ai_allSubtypeRelations() {
2  
  new L<Pair<S>> l;
3  
  for (WebRelation r : indexedRelations("is")) {
4  
    S a = web_text(r.a), b = web_text(r.b);
5  
    if (ai_isAOrAn(a) && ai_isAOrAn(b))
6  
      l.add(pair(a, b));
7  
  }
8  
  ret l;
9  
}

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: #1012519
Snippet name: ai_allSubtypeRelations
Eternal ID of this version: #1012519/3
Text MD5: 5886d5322328b180422328e0ff415c23
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-06 17:22:19
Source code size: 245 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 363 / 378
Version history: 2 change(s)
Referenced in: [show references]