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)

static bool lispTrue(S head, O... args) {
  ret lispTrue(lisp(head, args));
}

static bool lispTrue(Lisp l) {
  for (Lisp x : lispTruthByHead(l.head))
    if (eq(x, l)) true;
  false;
}

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: 606 / 621
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1008110 - findLispStatement - find an exact statement
#1008266 - lispTrueVerbose