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

9
LINES

< > BotCompany Repo | #1007963 // lispTrue - check a Lisp statement agains truth list

JavaX fragment (include)

1  
static bool lispTrue(S head, O... args) {
2  
  ret lispTrue(lisp(head, args));
3  
}
4  
5  
static bool lispTrue(Lisp l) {
6  
  for (Lisp x : lispTruthByHead(l.head))
7  
    if (eq(x, l)) true;
8  
  false;
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: #1007963
Snippet name: lispTrue - check a Lisp statement agains truth list
Eternal ID of this version: #1007963/3
Text MD5: 7f53124895ed964160476125a2e9b411
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 17:44:27
Source code size: 193 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 605 / 621
Version history: 2 change(s)
Referenced in: [show references]