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

17
LINES

< > BotCompany Repo | #1008098 // lispAddLocalTruth

JavaX fragment (include)

1  
// return new statement or null if it existed
2  
static LispStatement lispAddLocalTruth(Lisp l) {
3  
  if (lispTrue(l)) null;
4  
  ret lispAddLocalTruth_noCheck(aGlobalID(), l);
5  
}
6  
7  
static LispStatement lispAddLocalTruth(S id, Lisp l) {
8  
  if (lispTrue(l)) null;
9  
  ret lispAddLocalTruth_noCheck(id, l);
10  
}
11  
12  
static LispStatement lispAddLocalTruth_noCheck(S id, Lisp l) {
13  
  LispStatement s = new LispStatement(id, l);
14  
  lispStatements_cached().put(id, s);
15  
  lispChange();
16  
  ret s;
17  
}

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: #1008098
Snippet name: lispAddLocalTruth
Eternal ID of this version: #1008098/3
Text MD5: 1e6fd17a017092b3ed5cc531c9f251d4
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-24 23:27:25
Source code size: 484 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 402 / 443
Version history: 2 change(s)
Referenced in: [show references]