static Set<Lisp> followForwardRelation(S relation, S argument) { ret followForwardRelation(relation, lisp(argument)); } static Set<Lisp> followForwardRelation(S relation, Lisp argument) { new HashSet<Lisp> out; for (Lisp l : lispTruthByHead(relation)) if (eq(l.get(0), argument)) out.add(l.get(1)); ret out; }
Began life as a copy of #1007843
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: | #1007941 |
Snippet name: | followForwardRelation |
Eternal ID of this version: | #1007941/4 |
Text MD5: | 95d9a84e7585ffb8581c70329c0e010e |
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-17 19:43:37 |
Source code size: | 338 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 460 / 514 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1007942 - followForwardRelation_raw #1008100 - lispForwardRaw - get a single result from followForwardRelation_raw #1008209 - followBackwardRelation |