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

8
LINES

< > BotCompany Repo | #1012787 // ai_checkTripleRefs

JavaX fragment (include)

static L<TripleRef<Symbol>> ai_checkTripleRefs(Symbol a, Symbol b, Symbol c, L<TripleRef<Symbol>> l) {
  if (empty(l)) ret sharedEmptyList();
  new L<TripleRef<Symbol>> out;
  for (TripleRef<Symbol> ref : l) if (ref != null)
    if (canSimpleMatchTriple_dollarVars(a, b, c, ref.triple))
      out.add(ref);
  ret out;
}

Author comment

Began life as a copy of #1012673

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: #1012787
Snippet name: ai_checkTripleRefs
Eternal ID of this version: #1012787/1
Text MD5: 4a4efaa85135840693075e1c046fd8c2
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-13 04:50:54
Source code size: 326 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 464 / 484
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)