static L<Pair<Symbol>> ai_triplesToACPairs(final L<TripleWeb> l) {
if (l == null) null;
class TTACList 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.a, w.c);
}
}
ret new TTACList;
}Began life as a copy of #1012649
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: | #1013013 |
| Snippet name: | ai_triplesToACPairs |
| Eternal ID of this version: | #1013013/3 |
| Text MD5: | 2165da183e7e67ea49b64366af80e7f2 |
| 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-21 03:06:57 |
| Source code size: | 356 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 910 / 900 |
| Version history: | 2 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1013064 - ai_triplesToBCPairs |