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

14
LINES

< > BotCompany Repo | #1011890 // webs_tripleSearch_dollarX

JavaX fragment (include)

static L<WebNode> webs_tripleSearch_dollarX(Symbol a, Symbol b, Symbol c, Collection<Web> webs) {
  new L<WebNode> l;
  bool isA = eq(a, "$X");
  for (Web web : webs) {
    Pair<WebNode> p = web_matchTriple_dollarVars(a, b, c, web);
    if (p != null)
      l.add(isA ? p.a : p.b);
  }
  ret l;
}

static L<WebNode> webs_tripleSearch_dollarX(Collection<Web> webs, T3<Symbol> t) {
  ret webs_tripleSearch_dollarX(t.a, t.b, t.c, webs);
}

Author comment

Began life as a copy of #1010826

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: #1011890
Snippet name: webs_tripleSearch_dollarX
Eternal ID of this version: #1011890/4
Text MD5: aaf25058002a10dc271fb5a02417f23c
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-10 07:04:45
Source code size: 448 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 378 / 406
Version history: 3 change(s)
Referenced in: [show references]