static L<Pair<Symbol>> ai_triplesToBCPairs(final L<TripleWeb> l) { if (l == null) null; class TTBCList extends LazyList<Pair<Symbol>> { final int n = l(l); public int size() { ret n; } public Pair<Symbol> get(int i) { TripleWeb w = syncGet(l, i); ret w == null ? null : pair(w.b, w.c); } } ret new TTBCList; }
Began life as a copy of #1013013
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: | #1013064 |
Snippet name: | ai_triplesToBCPairs |
Eternal ID of this version: | #1013064/3 |
Text MD5: | dc6554109ec1aae29976ad1651a292e7 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-24 18:31:38 |
Source code size: | 356 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 417 / 431 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1026817 - lazyReversed - virtual reversed list |