1 | static Set<S> rawOnly(Set<Lisp> l) { |
2 | Set<S> out = similarEmptySet(l); |
3 | for (Lisp x : l) |
4 | if (x != null && x.isLeaf()) |
5 | out.add(x.head); |
6 | ret out; |
7 | } |
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: | 578 / 590 |
Referenced in: | [show references] |