static Set<S> rawOnly(Set<Lisp> l) { Set<S> out = similarEmptySet(l); for (Lisp x : l) if (x != null && x.isLeaf()) out.add(x.head); ret out; }
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: | #1007944 |
Snippet name: | rawOnly - get only leaves from Set<Lisp> and return as Set<S> |
Eternal ID of this version: | #1007944/1 |
Text MD5: | c57b1d085c5392c98ce22815e695e05a |
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:48:07 |
Source code size: | 165 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 577 / 589 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |