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

6
LINES

< > BotCompany Repo | #1018031 // ai_addFactsToMechList

JavaX fragment (include)

1  
sS ai_addFactsToMechList(S listName, LS newFacts) {
2  
  Set<S> base = mechSetCI(listName);
3  
  DerivedSet<S> set = new(base, ciSet());
4  
  if (ai_addFactsToSet(set, newFacts) == 0) null;
5  
  ret addToMechList(listName, set.additions);
6  
}

Author comment

Began life as a copy of #1018029

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018031
Snippet name: ai_addFactsToMechList
Eternal ID of this version: #1018031/2
Text MD5: 5c07ef769d0d6b0d7e02e6fbd9819907
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-26 17:22:23
Source code size: 233 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 365 / 393
Version history: 1 change(s)
Referenced in: [show references]