1 | static L<Pair<Symbol>> ai_triplesToACPairs(final L<TripleWeb> l) { |
2 | if (l == null) null; |
3 | class TTACList extends LazyList<Pair<Symbol>> { |
4 | final int n = l(l); |
5 | public int size() { ret n; } |
6 | public Pair<Symbol> get(int i) { |
7 | TripleWeb w = syncGet(l, i); |
8 | ret w == null ? null : pair(w.a, w.c); |
9 | } |
10 | } |
11 | ret new TTACList; |
12 | } |
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: | 401 / 429 |
Version history: | 2 change(s) |
Referenced in: | [show references] |